1. Andy Mikhailenko
  2. django-depts

Commits

Andy Mikhailenko  committed fb605f0

Updated department template

  • Participants
  • Parent commits 67f77a6
  • Branches default

Comments (0)

Files changed (1)

File depts/departments/templates/department_detail.html

View file
  • Ignore whitespace
 {% block content %}
     {{ object.description|render_wiki }}
     {% if object.staff.count %}
-        <h2>{{ object.staff.count|get_plural:"сотрудник,сотрудника,сотрудников"|capfirst }}</h2>
+        <h2>Состав ({{ object.staff.count|get_plural:"человек,человека,человек"|capfirst }})</h2>
         <dl>
         {% for position, people in staff %}
             <dt>{{ position|capfirst }}</dt>