mirror of
https://github.com/ansible/awx.git
synced 2026-01-12 18:40:01 -03:30
Merge pull request #4380 from saito-hideki/issue/4359
Add description to template and project list view Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
commit
6499f2b233
@ -6,6 +6,7 @@ function ProjectsStrings (BaseString) {
|
||||
|
||||
ns.list = {
|
||||
PANEL_TITLE: t.s('PROJECTS'),
|
||||
ROW_ITEM_LABEL_DESCRIPTION: t.s('DESCRIPTION'),
|
||||
ROW_ITEM_LABEL_REVISION: t.s('REVISION'),
|
||||
ROW_ITEM_LABEL_ORGANIZATION: t.s('ORGANIZATION'),
|
||||
ROW_ITEM_LABEL_MODIFIED: t.s('LAST MODIFIED'),
|
||||
|
||||
@ -80,6 +80,10 @@
|
||||
</div>
|
||||
<at-truncate string="{{ project.scm_revision }}" maxLength="7"></at-truncate>
|
||||
</div>
|
||||
<at-row-item
|
||||
label-value="{{:: vm.strings.get('list.ROW_ITEM_LABEL_DESCRIPTION')}}"
|
||||
value="{{ project.description | sanitize }}">
|
||||
</at-row-item>
|
||||
<at-row-item
|
||||
label-value="{{:: vm.strings.get('list.ROW_ITEM_LABEL_ORGANIZATION')}}"
|
||||
value="{{ project.summary_fields.organization.name }}"
|
||||
|
||||
@ -13,6 +13,7 @@ function TemplatesStrings (BaseString) {
|
||||
ADD_DD_JT_LABEL: t.s('Job Template'),
|
||||
ADD_DD_WF_LABEL: t.s('Workflow Template'),
|
||||
OPEN_WORKFLOW_VISUALIZER: t.s('Click here to open the workflow visualizer'),
|
||||
ROW_ITEM_LABEL_DESCRIPTION: t.s('Description'),
|
||||
ROW_ITEM_LABEL_ACTIVITY: t.s('Activity'),
|
||||
ROW_ITEM_LABEL_INVENTORY: t.s('Inventory'),
|
||||
ROW_ITEM_LABEL_PROJECT: t.s('Project'),
|
||||
|
||||
@ -87,6 +87,10 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="at-Row-container--wrapped">
|
||||
<at-row-item
|
||||
label-value="{{:: vm.strings.get('list.ROW_ITEM_LABEL_DESCRIPTION') }}"
|
||||
value="{{ template.description | sanitize }}">
|
||||
</at-row-item>
|
||||
<at-row-item
|
||||
label-value="{{:: vm.strings.get('list.ROW_ITEM_LABEL_INVENTORY') }}"
|
||||
value="{{ template.summary_fields.inventory.name }}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user