Commit d39a0ba 1 parent 617a6f9 commit d39a0ba Copy full SHA for d39a0ba
File tree 2 files changed +10
-3
lines changed
templates/views/components/widgets
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ define([
13
13
this . multiple = ! ! ko . unwrap ( params . node . config . multiValue ) ;
14
14
this . displayName = ko . observable ( '' ) ;
15
15
this . selectionValue = ko . observable ( [ ] ) ; // formatted version of this.value that select2 can use
16
+ this . activeLanguage = arches . activeLanguage ;
16
17
17
18
WidgetViewModel . apply ( this , [ params ] ) ;
18
19
Original file line number Diff line number Diff line change 41
41
{% endblock config_form %}
42
42
43
43
{% block report %}
44
- < div >
45
- < p > block report data here</ p >
46
- </ div >
44
+ < dt data-bind ="text: label, class: nodeCssClasses "> </ dt >
45
+ <!-- ko foreach: value -->
46
+ < dd data-bind ="text: labels[$parent.activeLanguage], class: $parent.nodeCssClasses "> </ dd >
47
+ <!-- /ko -->
48
+ <!-- ko ifnot: value().length -->
49
+ < dd data-bind ="class: nodeCssClasses ">
50
+ < span data-bind ="text: $root.translations.none "> </ span >
51
+ </ dd >
52
+ <!-- /ko -->
47
53
{% endblock report %}
You can’t perform that action at this time.
0 commit comments