Drop the page titles over the trash and shared lists
Browse files at this commitd64cec85d1b026366916c6a614d5ff9a2afa05a9Parent: 9e17fb4- fix
- drop the page titles over the trash and shared lists
4 changed files +4 -8
- .pi/remote-pi/config.json +4 -0
- crates/in-web/src/i18n.rs +0 -6
- crates/in-web/src/share.rs +0 -1
- crates/in-web/src/trash.rs +0 -1
.pi/remote-pi/config.jsonadded+4 -0
| @@ -0,0 +1,4 @@ | ||
| 1 | +{ | |
| 2 | + "agent_name": "in", | |
| 3 | + "auto_start_relay": true | |
| 4 | +} | |
| \ No newline at end of file |
crates/in-web/src/i18n.rsmodified+0 -6
| @@ -144,10 +144,8 @@ pub enum Key { | ||
| 144 | 144 | SharePlaceholder, |
| 145 | 145 | CanDownload, |
| 146 | 146 | RemoveAccess, |
| 147 | - SharedWithMe, | |
| 148 | 147 | NoSharedItems, |
| 149 | 148 | // Trash. |
| 150 | - Trash, | |
| 151 | 149 | TrashEmpty, |
| 152 | 150 | Restore, |
| 153 | 151 | DeleteForever, |
| @@ -296,9 +294,7 @@ pub fn t(lang: Lang, key: Key) -> &'static str { | ||
| 296 | 294 | SharePlaceholder => "Name or address", |
| 297 | 295 | CanDownload => "May download", |
| 298 | 296 | RemoveAccess => "Remove access", |
| 299 | - SharedWithMe => "Shared with me", | |
| 300 | 297 | NoSharedItems => "Nothing is shared with you yet.", |
| 301 | - Trash => "Trash", | |
| 302 | 298 | TrashEmpty => "The trash is empty.", |
| 303 | 299 | Restore => "Restore", |
| 304 | 300 | DeleteForever => "Delete forever", |
| @@ -437,9 +433,7 @@ pub fn t(lang: Lang, key: Key) -> &'static str { | ||
| 437 | 433 | SharePlaceholder => "Ad ya da adres", |
| 438 | 434 | CanDownload => "İndirebilir", |
| 439 | 435 | RemoveAccess => "Erişimi kaldır", |
| 440 | - SharedWithMe => "Benimle paylaşılanlar", | |
| 441 | 436 | NoSharedItems => "Seninle henüz bir şey paylaşılmadı.", |
| 442 | - Trash => "Çöp", | |
| 443 | 437 | TrashEmpty => "Çöp boş.", |
| 444 | 438 | Restore => "Geri al", |
| 445 | 439 | DeleteForever => "Kalıcı olarak sil", |
crates/in-web/src/share.rsmodified+0 -1
| @@ -969,7 +969,6 @@ async fn shared(cx: &Cx) -> Result { | ||
| 969 | 969 | cx => |
| 970 | 970 | (topbar(cx, NavPage::Shared, &user, language).await?) |
| 971 | 971 | <main class="settings-stage stage-wide"> |
| 972 | - <h1 class="settings-title">(t(language, Key::SharedWithMe))</h1> | |
| 973 | 972 | <div class="filterbar"> |
| 974 | 973 | <form class="field-box field-box-search" method="get" action="/shared"> |
| 975 | 974 | <span class="field-text">(t(language, Key::NavSearch))</span> |
crates/in-web/src/trash.rsmodified+0 -1
| @@ -305,7 +305,6 @@ async fn trash(cx: &Cx) -> Result { | ||
| 305 | 305 | cx => |
| 306 | 306 | (topbar(cx, NavPage::Trash, &user, language).await?) |
| 307 | 307 | <main class="settings-stage stage-wide"> |
| 308 | - <h1 class="settings-title">(t(language, Key::Trash))</h1> | |
| 309 | 308 | <div class="filterbar"> |
| 310 | 309 | <form class="field-box field-box-search" method="get" action="/trash"> |
| 311 | 310 | <span class="field-text">(t(language, Key::NavSearch))</span> |