Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Privacy
Imprint
Contact
Login methods
Sign in
Toggle navigation
Menu
Open sidebar
Carelle Djuffo Nzangue
frag.jetzt
Commits
fc6d4f56
Commit
fc6d4f56
authored
Apr 18, 2021
by
Carelle Djuffo Nzangue
Browse files
added number of questions on question wall
parent
5dadbcfe
Changes
4
Hide whitespace changes
Inline
Side-by-side
src/app/components/shared/questionwall/question-wall/question-wall.component.html
View file @
fc6d4f56
...
...
@@ -12,6 +12,12 @@
<ars-fill
ars-flex-box
>
<ars-fill></ars-fill>
<ars-col
ars-btn-wrp
[xp]=
"16"
[extra]=
"true"
>
<button
mat-menu-item
aria-labelledby=
"filter-lbl-bookmark"
>
{{comments.length}} Question{{comments.length >1?"s": ""}} by {{userList.length}} {{userList.length>1?"s":""}}User
</button>
<mat-menu
#sortMenu
>
<button
mat-menu-item
(click)=
"sortTime(true)"
aria-labelledby=
"sort-lbl-new"
>
{{'question-wall.sort-new' | translate}}
</button>
<button
mat-menu-item
(click)=
"sortTime()"
aria-labelledby=
"sort-lbl-old"
>
{{'question-wall.sort-old' | translate}}
</button>
...
...
@@ -22,7 +28,7 @@
<mat-icon
class=
"star"
>
grade
</mat-icon>
<span>
{{'question-wall.filter-favorite' | translate}}
</span>
</button>
<button
mat-menu-item
(click)=
"filterBookmark()"
aria-labelledby=
"filter-lbl-bookmark"
>
<mat-icon>
bookmark
</mat-icon>
<span>
{{'question-wall.filter-bookmark' | translate}}
</span>
...
...
src/app/components/shared/questionwall/question-wall/question-wall.component.ts
View file @
fc6d4f56
...
...
@@ -87,6 +87,7 @@ export class QuestionWallComponent implements OnInit, AfterViewInit, OnDestroy {
this
.
comments
.
push
(
comment
);
this
.
setTimePeriod
(
this
.
period
);
});
this
.
createUserMap
();
});
this
.
roomService
.
getRoom
(
this
.
roomId
).
subscribe
(
e
=>
{
this
.
room
=
e
;
...
...
@@ -101,6 +102,7 @@ export class QuestionWallComponent implements OnInit, AfterViewInit, OnDestroy {
if
(
this
.
focusIncommingComments
)
{
setTimeout
(()
=>
this
.
focusComment
(
qwComment
),
5
);
}
this
.
createUserMap
();
});
});
});
...
...
src/assets/i18n/participant/de.json
View file @
fc6d4f56
...
...
@@ -11,7 +11,7 @@
"a11y-filter_list"
:
"Option Fragen zu filtern"
,
"a11y-grade"
:
"Filtert alle Bonus Fragen"
,
"a11y-moderator"
:
"Filtert alle Fragen von Moderatoren"
,
"a11y-lecturer"
:
"Filtert alle Fragen von Dozenten"
,
"a11y-lecturer"
:
"Filtert alle Fragen von Dozenten"
,
"a11y-bookmark"
:
"Filtert alle Fragen mit Lesezeichen"
,
"a11y-keyboard_arrow_down"
:
"Sortiert die Fragen nach absteigenden Bewertungen"
,
"a11y-keyboard_arrow_up"
:
"Sortiert die Fragen nach aufsteigenden Bewertungen"
,
...
...
@@ -207,6 +207,8 @@
"autofocus-off-lbl"
:
"Automatische Fokussierung neuer Fragen beenden"
,
"autofocus-on-lbl"
:
"Neue Fragen automatisch fokussieren"
,
"prev-comment-lbl"
:
"Vorherige Frage"
,
"next-comment-lbl"
:
"Nächste Frage"
"next-comment-lbl"
:
"Nächste Frage"
,
"frage-steller-lbl"
:
"Fragesteller"
,
"benutzer-frage-steller"
:
"Benutzer"
}
}
src/assets/i18n/participant/en.json
View file @
fc6d4f56
...
...
@@ -21,7 +21,7 @@
"a11y-filter_list"
:
"Option to filter questions"
,
"a11y-grade"
:
"Filters all bonus questions"
,
"a11y-moderator"
:
"Filters all moderator questions"
,
"a11y-lecturer"
:
"Filters all lecturer questions"
,
"a11y-lecturer"
:
"Filters all lecturer questions"
,
"a11y-bookmark"
:
"Filters all bookmark questions"
,
"a11y-keyboard_arrow_down"
:
"Sorts questions by descending votes"
,
"a11y-keyboard_arrow_up"
:
"Sorts questions by ascending votes"
,
...
...
@@ -213,6 +213,7 @@
"autofocus-off-lbl"
:
"Stop automatic focusing of new questions"
,
"autofocus-on-lbl"
:
"Turn on automatic focusing of new questions"
,
"prev-comment-lbl"
:
"Previous question"
,
"next-comment-lbl"
:
"Next question"
"next-comment-lbl"
:
"Next question"
,
}
}
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