mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
parent
9595ef0199
commit
27a58c18ee
5 changed files with 27 additions and 0 deletions
1
.meteor/.gitignore
vendored
1
.meteor/.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
|
dev_bundle
|
||||||
local
|
local
|
||||||
|
|
|
@ -45,3 +45,12 @@ template(name="header")
|
||||||
else
|
else
|
||||||
a.wekan-logo(href="{{pathFor 'home'}}" title="{{_ 'header-logo-title'}}")
|
a.wekan-logo(href="{{pathFor 'home'}}" title="{{_ 'header-logo-title'}}")
|
||||||
img(src="{{pathFor '/wekan-logo-header.png'}}" alt="Wekan")
|
img(src="{{pathFor '/wekan-logo-header.png'}}" alt="Wekan")
|
||||||
|
|
||||||
|
if appIsOffline
|
||||||
|
+offlineWarning
|
||||||
|
|
||||||
|
template(name="offlineWarning")
|
||||||
|
.offline-warning
|
||||||
|
p
|
||||||
|
i.fa.fa-warning
|
||||||
|
| {{_ 'app-is-offline'}}
|
||||||
|
|
|
@ -6,6 +6,10 @@ Template.header.helpers({
|
||||||
hideLogo() {
|
hideLogo() {
|
||||||
return Utils.isMiniScreen() && Session.get('currentBoard');
|
return Utils.isMiniScreen() && Session.get('currentBoard');
|
||||||
},
|
},
|
||||||
|
|
||||||
|
appIsOffline() {
|
||||||
|
return !Meteor.status().connected;
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
Template.header.events({
|
Template.header.events({
|
||||||
|
|
|
@ -196,3 +196,15 @@
|
||||||
|
|
||||||
li
|
li
|
||||||
height: 28px
|
height: 28px
|
||||||
|
|
||||||
|
.offline-warning
|
||||||
|
width: 100%
|
||||||
|
text-align: center
|
||||||
|
padding: 0
|
||||||
|
margin: 0
|
||||||
|
background: #F8ECBD
|
||||||
|
clear: both
|
||||||
|
|
||||||
|
p
|
||||||
|
margin: 7px
|
||||||
|
padding: 0
|
||||||
|
|
|
@ -51,6 +51,7 @@
|
||||||
"all-boards": "All boards",
|
"all-boards": "All boards",
|
||||||
"and-n-other-card": "And __count__ other card",
|
"and-n-other-card": "And __count__ other card",
|
||||||
"and-n-other-card_plural": "And __count__ other cards",
|
"and-n-other-card_plural": "And __count__ other cards",
|
||||||
|
"app-is-offline": "The application is currently offline, refreshing the page will cause data loss.",
|
||||||
"archive": "Archive",
|
"archive": "Archive",
|
||||||
"archive-all": "Archive All",
|
"archive-all": "Archive All",
|
||||||
"archive-board": "Archive Board",
|
"archive-board": "Archive Board",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue