Display placeholder if projects have no US

stable
Xavier Julián 2016-09-21 16:05:44 +02:00 committed by David Barragán Merino
parent d186463e5d
commit 4c3710cf4f
2 changed files with 7 additions and 1 deletions

View File

@ -1083,6 +1083,7 @@
"SUBJECT_BULK_MODE": "Subject (bulk insert)",
"CHOOSE_PROJECT_FROM": "What's the project?",
"CHOOSE_USERSTORY": "What's the user story?",
"NO_USERSTORIES": "This project has no User Stories yet. Please select another project.",
"FILTER_USERSTORIES": "Filter user stories",
"LIGHTBOX_TITLE_BLOKING_EPIC": "Blocking epic",
"ACTION_DELETE": "Delete epic"

View File

@ -110,8 +110,13 @@ a.add-button.e2e-add-userstory-button(
translate="COMMON.SAVE"
ng-show="relatedWithSelector=='new-user-story'"
)
p(
ng-show="relatedWithSelector=='existing-user-story' && !vm.projectUserstories.size"
translate="EPIC.NO_USERSTORIES"
)
fieldset.existing-user-story(ng-show="relatedWithSelector=='existing-user-story'")
fieldset.existing-user-story(ng-show="relatedWithSelector=='existing-user-story' && vm.projectUserstories.size")
label(
translate="EPIC.CHOOSE_USERSTORY"
for="userstory-filter"