refs #5394 minor fixes
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Alexandre Riera 2023-05-30 11:45:22 +02:00
parent 915cb06211
commit 636d7bb6e8
1 changed files with 10 additions and 6 deletions

View File

@ -76,9 +76,11 @@
<span class="json-field" title="{{::prop.name}}">
{{::prop.nameI18n}}:
</span>
<vn-json-value ng-class="::{'link': prop.descriptor}"
ng-click="::$ctrl.showDescriptor(prop.descriptor, $event, $ctrl.mainVal(prop, log.action))"
value value="::$ctrl.mainVal(prop, log.action)"></vn-json-value><span ng-if="::!$last">,</span>
<vn-json-value
ng-class="::{'link': prop.descriptor}"
ng-click="::$ctrl.showDescriptor(prop.descriptor, $event, $ctrl.mainVal(prop, log.action))"
value="::$ctrl.mainVal(prop, log.action)">
</vn-json-value><span ng-if="::!$last">,</span>
</span>
<div ng-if="log.expand" class="expanded-json">
<div ng-repeat="prop in ::log.props">
@ -90,9 +92,11 @@
ng-click="::$ctrl.showDescriptor(prop.descriptor, $event, $ctrl.mainVal(prop, log.action))"
value="::$ctrl.mainVal(prop, log.action)"></vn-json-value>
<span ng-if="::log.action == 'update'">
<vn-json-value ng-class="::{'link': prop.descriptor}"
ng-click="::$ctrl.showDescriptor(prop.descriptor, $event, prop.old)"
value="::prop.old"></vn-json-value>
<vn-json-value
ng-class="::{'link': prop.descriptor}"
ng-click="::$ctrl.showDescriptor(prop.descriptor, $event, prop.old)"
value="::prop.old">
</vn-json-value>
</span>
</div>
</div>