Merge "Useing 'yesno' filter to display Boolean value"
This commit is contained in:
commit
9f563c498d
@ -11,7 +11,7 @@
|
||||
<dt>{% trans "Project ID" %}</dt>
|
||||
<dd>{{ project.id }}</dd>
|
||||
<dt>{% trans "Enabled" %}</dt>
|
||||
<dd>{{ project.enabled }}</dd>
|
||||
<dd>{{ project.enabled|yesno|capfirst }}</dd>
|
||||
<dt>{% trans "Description" %}</dt>
|
||||
<dd>{{ project.description|default:_("None") }}</dd>
|
||||
</dl>
|
||||
|
@ -21,7 +21,7 @@
|
||||
<dt>{% trans "Email" %}</dt>
|
||||
<dd>{{ user.email|default:_("None") }}</dd>
|
||||
<dt>{% trans "Enabled" %}</dt>
|
||||
<dd>{{ user.enabled }}</dd>
|
||||
<dd>{{ user.enabled|yesno|capfirst }}</dd>
|
||||
<dt>{% trans "Project ID" %}</dt>
|
||||
<dd>{{ user.project_id }}</dd>
|
||||
</dl>
|
||||
|
Loading…
Reference in New Issue
Block a user