refactor: move scope field to trait

[ci skip] as we know tests are failing
This commit is contained in:
2015-06-24 22:32:28 +02:00
parent 7cf41d9c9d
commit 8445e81d44
3 changed files with 54 additions and 8 deletions

View File

@@ -30,8 +30,8 @@
<dl>
<dt class="inline">{{ 'Person'|trans }}</dt>
<dd>{{ entity.person }}</dd>
<!-- <dt class="inline">{{ 'Scope'|trans }}</dt>
<dd>{{ entity.scope }}</dd> -->
<dt class="inline">{{ 'Scope'|trans }}</dt>
<dd><span class="scope">{{ entity.scope.name|localize_translatable_string }}</span></dd>
<dt class="inline">{{ 'Date'|trans }}</dt>
<dd>{{ entity.date|localizeddate('long', 'none') }}</dd>
<dt class="inline">{{ 'User'|trans }}</dt>