Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
cards
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Sergej Lopatin
cards
Commits
d525d147
Commit
d525d147
authored
Dec 11, 2018
by
Curtis Adam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the description of the show wordcloud / label toggle button depending on the active mode
parent
3dc68fd7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
2 deletions
+16
-2
de.i18n.json
i18n/de.i18n.json
+4
-1
displayModeButton.html
imports/ui/filter/navigation/item/displayModeButton.html
+6
-1
displayModeButton.js
imports/ui/filter/navigation/item/displayModeButton.js
+6
-0
No files found.
i18n/de.i18n.json
View file @
d525d147
...
...
@@ -947,7 +947,10 @@
"from"
:
"Ab"
,
"noResults"
:
"Keine Karteien oder Repetitorien vorhanden oder keine Ergebnisse für diese Filtereinstellung"
,
"sort"
:
"Sortieren "
,
"displayMode"
:
"Wolke"
"displayMode"
:
{
"wordcloud"
:
"Wolke"
,
"list"
:
"Liste"
}
},
"infinite-scroll"
:
{
"remainingCardsets"
:
"__current__ von __total__ Karteien"
,
...
...
imports/ui/filter/navigation/item/displayModeButton.html
View file @
d525d147
<template
name=
"filterItemDisplayModeButton"
>
<li
class=
"dropdown hidden-xs"
>
<a
id=
"displayModeBtn"
role=
"button"
>
{{_ "filter-pool.displayMode"}}
role=
"button"
>
{{#if isWordcloudActive}}
{{_ "filter-pool.displayMode.wordcloud"}}
{{else}}
{{_ "filter-pool.displayMode.list"}}
{{/if}}
</a>
</li>
</template>
imports/ui/filter/navigation/item/displayModeButton.js
View file @
d525d147
...
...
@@ -25,6 +25,12 @@ Template.filterItemDisplayModeButton.onRendered(function () {
});
});
Template
.
filterItemDisplayModeButton
.
helpers
({
isWordcloudActive
:
function
()
{
return
Session
.
get
(
'
filterDisplayWordcloud
'
);
}
});
Template
.
filterItemDisplayModeButton
.
events
({
'
click #displayModeBtn
'
:
function
()
{
if
(
Session
.
get
(
'
filterDisplayWordcloud
'
))
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment