mirror of
https://github.com/wekan/wekan.git
synced 2025-12-27 12:48:49 +01:00
Implement board archive and restoration
This commit is contained in:
parent
9faaf07e02
commit
48ac8b026f
32 changed files with 138 additions and 42 deletions
|
|
@ -2,6 +2,12 @@ Template.header.helpers({
|
|||
// Reactively set the color of the page from the color of the current board.
|
||||
headerTemplate: function() {
|
||||
return 'headerBoard';
|
||||
},
|
||||
|
||||
wrappedHeader: function() {
|
||||
var unwrapedRoutes = ['board', 'card'];
|
||||
var currentRouteName = FlowRouter.getRouteName();
|
||||
return unwrapedRoutes.indexOf(currentRouteName) === -1;
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue