Merge pull request #545 from taigaio/issue/2922/remove-points-from-admin-duplicates-the-list
repeat by div instead of form in the admin listsstable
commit
dce4294744
|
@ -16,7 +16,8 @@ section.custom-fields-table.basic-table
|
|||
|
||||
div.table-body
|
||||
div.js-sortable
|
||||
form.js-form(ng-repeat="attr in customAttributes track by attr.id", tg-bind-scope)
|
||||
div(ng-repeat="attr in customAttributes track by attr.id", tg-bind-scope)
|
||||
form.js-form(tg-bind-scope)
|
||||
div.row.single-custom-field.js-view-custom-field
|
||||
span.icon.icon-drag-v
|
||||
div.custom-name
|
||||
|
@ -40,7 +41,6 @@ section.custom-fields-table.basic-table
|
|||
fieldset.custom-field-type
|
||||
select(ng-model="attr.field_type",
|
||||
ng-options="e.id as e.name | translate for e in [{'id':'TEXT', 'name': 'ADMIN.CUSTOM_FIELDS.FIELD_TYPE_TEXT'},{'id':'MULTI', 'name': 'ADMIN.CUSTOM_FIELDS.FIELD_TYPE_MULTI'}]")
|
||||
|
||||
fieldset.custom-options
|
||||
div.custom-options-wrapper
|
||||
a.js-update-custom-field-button.icon.icon-floppy(href="", title="{{'ADMIN.CUSTOM_ATTRIBUTES.ACTION_UPDATE' | translate}}")
|
||||
|
|
|
@ -15,7 +15,8 @@ section.project-values-table
|
|||
|
||||
div.project-values-body
|
||||
div.sortable
|
||||
form(ng-repeat="value in values", tg-bind-scope)
|
||||
div(ng-repeat="value in values track by value.id", tg-bind-scope)
|
||||
form(tg-bind-scope)
|
||||
div.project-values-row.row.table-main.visualization
|
||||
span.icon.icon-drag-v
|
||||
|
||||
|
@ -31,12 +32,10 @@ section.project-values-table
|
|||
|
||||
div.project-values-row.row.table-main.edition.hidden
|
||||
div.project-values-name
|
||||
input(name="name", type="text", placeholder="{{'COMMON.FIELDS.NAME' | translate}}", ng-model="value.name",
|
||||
data-required="true")
|
||||
input(name="name", type="text", placeholder="{{'COMMON.FIELDS.NAME' | translate}}", ng-model="value.name")
|
||||
|
||||
div.project-values-value
|
||||
input(name="value", type="text", placeholder="{{'COMMON.FIELDS.VALUE' | translate}}", ng-model="value.value",
|
||||
data-type="number")
|
||||
input(name="value", type="text", placeholder="{{'COMMON.FIELDS.VALUE' | translate}}", ng-model="value.value", data-type="number")
|
||||
|
||||
div.project-values-settings
|
||||
a.save.icon.icon-floppy(href="", title="{{'COMMON.SAVE' | translate}}")
|
||||
|
|
|
@ -14,7 +14,8 @@ section.colors-table.admin-status-table
|
|||
|
||||
div.table-main
|
||||
div.sortable
|
||||
form(ng-repeat="value in values", tg-bind-scope)
|
||||
div(ng-repeat="value in values", tg-bind-scope)
|
||||
form(tg-bind-scope)
|
||||
div.row.table-main.visualization
|
||||
span.icon.icon-drag-v
|
||||
div.color-column
|
||||
|
|
|
@ -13,7 +13,8 @@ section.colors-table
|
|||
|
||||
div.table-main
|
||||
div.sortable
|
||||
form(ng-repeat="value in values", tg-bind-scope)
|
||||
div(ng-repeat="value in values", tg-bind-scope)
|
||||
form(tg-bind-scope)
|
||||
div.row.table-main.visualization
|
||||
span.icon.icon-drag-v
|
||||
|
||||
|
|
|
@ -18,7 +18,8 @@ section.project-us-status
|
|||
|
||||
div.table-main
|
||||
div.sortable
|
||||
form(ng-repeat="value in values", tg-bind-scope)
|
||||
div(ng-repeat="value in values", tg-bind-scope)
|
||||
form(tg-bind-scope)
|
||||
div.row.table-main.visualization
|
||||
span.icon.icon-drag-v
|
||||
|
||||
|
|
Loading…
Reference in New Issue