[Backport] Improve placeholders for members, registered users and anonymous users
parent
2c30e771bb
commit
0c11c3d88c
|
@ -954,7 +954,7 @@
|
||||||
"MOVE_US_TO_CURRENT_SPRINT": "Move to Current Sprint",
|
"MOVE_US_TO_CURRENT_SPRINT": "Move to Current Sprint",
|
||||||
"SHOW_FILTERS": "Show filters",
|
"SHOW_FILTERS": "Show filters",
|
||||||
"SHOW_TAGS": "Show tags",
|
"SHOW_TAGS": "Show tags",
|
||||||
"EMPTY": "Your backlog is empty!",
|
"EMPTY": "The backlog is empty!",
|
||||||
"CREATE_NEW_US": "Create a new US",
|
"CREATE_NEW_US": "Create a new US",
|
||||||
"CREATE_NEW_US_EMPTY_HELP": "You may want to create a new user story",
|
"CREATE_NEW_US_EMPTY_HELP": "You may want to create a new user story",
|
||||||
"EXCESS_OF_POINTS": "Excess of points",
|
"EXCESS_OF_POINTS": "Excess of points",
|
||||||
|
@ -1015,7 +1015,7 @@
|
||||||
"LINK_TASKBOARD": "Sprint Taskboard",
|
"LINK_TASKBOARD": "Sprint Taskboard",
|
||||||
"TITLE_LINK_TASKBOARD": "Go to Taskboard of \"{{name}}\"",
|
"TITLE_LINK_TASKBOARD": "Go to Taskboard of \"{{name}}\"",
|
||||||
"NUMBER_SPRINTS": "<br/>sprints",
|
"NUMBER_SPRINTS": "<br/>sprints",
|
||||||
"EMPTY": "YOU HAVE NO SPRINTS",
|
"EMPTY": "There are no sprints yet",
|
||||||
"WARNING_EMPTY_SPRINT": "Drop here Stories from your backlog to start a new sprint",
|
"WARNING_EMPTY_SPRINT": "Drop here Stories from your backlog to start a new sprint",
|
||||||
"TITLE_ACTION_NEW_SPRINT": "Add new sprint",
|
"TITLE_ACTION_NEW_SPRINT": "Add new sprint",
|
||||||
"TEXT_ACTION_NEW_SPRINT": "You may want to create a new sprint in your project",
|
"TEXT_ACTION_NEW_SPRINT": "You may want to create a new sprint in your project",
|
||||||
|
|
|
@ -50,13 +50,18 @@ div.wrapper(tg-backlog, ng-controller="BacklogController as ctrl",
|
||||||
section.backlog-table(ng-class="{'hidden': !userstories.length}")
|
section.backlog-table(ng-class="{'hidden': !userstories.length}")
|
||||||
include ../includes/modules/backlog-table
|
include ../includes/modules/backlog-table
|
||||||
|
|
||||||
div.empty-backlog(ng-class="{'hidden': userstories.length}", tg-backlog-empty-sortable)
|
div.empty-backlog(
|
||||||
|
ng-class="{'hidden': userstories === undefined || userstories.length}"
|
||||||
|
tg-backlog-empty-sortable
|
||||||
|
)
|
||||||
img(
|
img(
|
||||||
src="/images/backlog-empty.png"
|
src="/images/backlog-empty.png"
|
||||||
alt="{{'BACKLOG.EMPTY' | translate}}"
|
alt="{{'BACKLOG.EMPTY' | translate}}"
|
||||||
)
|
)
|
||||||
p.title(translate="BACKLOG.EMPTY")
|
p.title(translate="BACKLOG.EMPTY")
|
||||||
a(href="", title="{{'BACKLOG.CREATE_NEW_US' | translate}}"
|
a(
|
||||||
|
href=""
|
||||||
|
title="{{'BACKLOG.CREATE_NEW_US' | translate}}"
|
||||||
ng-click="ctrl.addNewUs('standard')"
|
ng-click="ctrl.addNewUs('standard')"
|
||||||
tg-check-permission="add_us"
|
tg-check-permission="add_us"
|
||||||
translate="BACKLOG.CREATE_NEW_US_EMPTY_HELP"
|
translate="BACKLOG.CREATE_NEW_US_EMPTY_HELP"
|
||||||
|
|
|
@ -51,10 +51,16 @@ section.issues-table.basic-table(ng-class="{empty: !issues.length}")
|
||||||
figure.avatar
|
figure.avatar
|
||||||
span.icon.icon-arrow-bottom(tg-check-permission="modify_issue")
|
span.icon.icon-arrow-bottom(tg-check-permission="modify_issue")
|
||||||
|
|
||||||
section.empty-issues(ng-if="!issues.length")
|
section.empty-issues(ng-if="issues != undefined && issues.length == 0")
|
||||||
img(
|
img(
|
||||||
src="../../images/issues-empty.png",
|
src="../../images/issues-empty.png",
|
||||||
alt="{{ISSUES.TABLE.EMPTY.TITLE | translate }}"
|
alt="{{ISSUES.TABLE.EMPTY.TITLE | translate }}"
|
||||||
)
|
)
|
||||||
p.title(translate="ISSUES.TABLE.EMPTY.TITLE")
|
p.title(translate="ISSUES.TABLE.EMPTY.TITLE")
|
||||||
p(translate="ISSUES.TABLE.EMPTY.SUBTITLE")
|
a(
|
||||||
|
href=""
|
||||||
|
ng-click="ctrl.addNewIssue()"
|
||||||
|
tg-check-permission="add_issue"
|
||||||
|
title="{{ ISSUES.ACTION_NEW_ISSUE | translate }}"
|
||||||
|
translate="ISSUES.TABLE.EMPTY.SUBTITLE"
|
||||||
|
)
|
||||||
|
|
|
@ -7,7 +7,7 @@ section.sprints
|
||||||
)
|
)
|
||||||
span(translate="BACKLOG.SPRINTS.TITLE")
|
span(translate="BACKLOG.SPRINTS.TITLE")
|
||||||
a.add-sprint(
|
a.add-sprint(
|
||||||
href=""
|
href=""
|
||||||
title="{{ 'BACKLOG.SPRINTS.TITLE_ACTION_NEW_SPRINT' | translate}}"
|
title="{{ 'BACKLOG.SPRINTS.TITLE_ACTION_NEW_SPRINT' | translate}}"
|
||||||
ng-click="ctrl.addNewSprint()"
|
ng-click="ctrl.addNewSprint()"
|
||||||
ng-if="totalMilestones"
|
ng-if="totalMilestones"
|
||||||
|
@ -15,7 +15,7 @@ section.sprints
|
||||||
)
|
)
|
||||||
include ../../../svg/add.svg
|
include ../../../svg/add.svg
|
||||||
|
|
||||||
div.sprints-empty(ng-if="!totalMilestones")
|
div.sprints-empty(ng-if="totalMilestones === 0")
|
||||||
img(
|
img(
|
||||||
src="/images/sprint-empty.png"
|
src="/images/sprint-empty.png"
|
||||||
alt="{{'BACKLOG.SPRINTS.EMPTY' | translate}}"
|
alt="{{'BACKLOG.SPRINTS.EMPTY' | translate}}"
|
||||||
|
@ -26,6 +26,7 @@ section.sprints
|
||||||
ng-click="ctrl.addNewSprint()"
|
ng-click="ctrl.addNewSprint()"
|
||||||
title="{{'BACKLOG.SPRINTS.TITLE_ACTION_NEW_SPRINT' | translate}}"
|
title="{{'BACKLOG.SPRINTS.TITLE_ACTION_NEW_SPRINT' | translate}}"
|
||||||
translate="BACKLOG.SPRINTS.TEXT_ACTION_NEW_SPRINT"
|
translate="BACKLOG.SPRINTS.TEXT_ACTION_NEW_SPRINT"
|
||||||
|
tg-check-permission="add_milestone"
|
||||||
)
|
)
|
||||||
|
|
||||||
div.sprint.sprint-open(ng-repeat="sprint in openSprints track by sprint.id",
|
div.sprint.sprint-open(ng-repeat="sprint in openSprints track by sprint.id",
|
||||||
|
|
Loading…
Reference in New Issue