Display placeholder if projects have no US
parent
d186463e5d
commit
4c3710cf4f
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue