Fix error: show add tag form if project has no ntags
parent
c583dd15b6
commit
4f51bd953f
|
@ -1,13 +1,10 @@
|
||||||
section
|
section
|
||||||
.admin-tags-section-wrapper-empty(
|
.admin-tags-section-wrapper-empty(
|
||||||
ng-show="!projectTagsAll.length"
|
ng-if="!projectTagsAll.length && ctrl.loading"
|
||||||
tg-loading="ctrl.loading"
|
tg-loading="ctrl.loading"
|
||||||
)
|
)
|
||||||
p(translate="ADMIN.PROJECT_VALUES_TAGS.EMPTY")
|
|
||||||
|
|
||||||
.admin-tags-section-wrapper(
|
.admin-tags-section-wrapper
|
||||||
ng-show="projectTagsAll.length"
|
|
||||||
)
|
|
||||||
form.add-tag-container.new-value.hidden
|
form.add-tag-container.new-value.hidden
|
||||||
tg-color-selection.color-column(
|
tg-color-selection.color-column(
|
||||||
tg-allow-empty="true"
|
tg-allow-empty="true"
|
||||||
|
@ -42,7 +39,14 @@ section
|
||||||
svg-icon="icon-close"
|
svg-icon="icon-close"
|
||||||
)
|
)
|
||||||
|
|
||||||
.table-header.table-tags-editor
|
p.tags-empty(
|
||||||
|
ng-if="!projectTagsAll.length && !ctrl.loading"
|
||||||
|
translate="ADMIN.PROJECT_VALUES_TAGS.EMPTY"
|
||||||
|
)
|
||||||
|
|
||||||
|
.table-header.table-tags-editor(
|
||||||
|
ng-if="projectTagsAll.length"
|
||||||
|
)
|
||||||
div.row.header-tag-row
|
div.row.header-tag-row
|
||||||
.color-column(translate="COMMON.FIELDS.COLOR")
|
.color-column(translate="COMMON.FIELDS.COLOR")
|
||||||
.status-name(translate="COMMON.FIELDS.NAME")
|
.status-name(translate="COMMON.FIELDS.NAME")
|
||||||
|
@ -57,7 +61,9 @@ section
|
||||||
svg-icon="icon-search"
|
svg-icon="icon-search"
|
||||||
)
|
)
|
||||||
|
|
||||||
.table-main.table-admin-tags
|
.table-main.table-admin-tags(
|
||||||
|
ng-if="projectTagsAll.length"
|
||||||
|
)
|
||||||
div(ng-show="!mixingTags.toTag")
|
div(ng-show="!mixingTags.toTag")
|
||||||
.admin-attributes-section-wrapper-empty(
|
.admin-attributes-section-wrapper-empty(
|
||||||
ng-show="!projectTags.length"
|
ng-show="!projectTags.length"
|
||||||
|
|
|
@ -1,3 +1,8 @@
|
||||||
|
.tags-empty {
|
||||||
|
padding: 10vh 0 0;
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
.add-tag-container {
|
.add-tag-container {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background: $mass-white;
|
background: $mass-white;
|
||||||
|
|
Loading…
Reference in New Issue