Change strings in agenda overview and agenda widget concerning application items
This commit is contained in:
parent
16e829a05d
commit
5d5e7c10f5
@ -20,8 +20,15 @@
|
||||
{% if perms.agenda.can_manage_agenda %}
|
||||
<div class="dragcell"></div>
|
||||
{% endif %}
|
||||
<a href="{{ item.get_absolute_url }}">{{ item }}</a>
|
||||
{% if item.related_sid %}
|
||||
<a href="{% model_url item 'view' %}">{{ item }}</a>
|
||||
{% if item.get_related_type == 'application' %}
|
||||
({% trans 'Application' %}
|
||||
{% if item.get_related_slide.number %}
|
||||
{{ item.get_related_slide.number }})
|
||||
{% else %}
|
||||
<i>[{% trans "no number" %}]</i>)
|
||||
{% endif %}
|
||||
{% elif item.related_sid %}
|
||||
({{ item.print_related_type }})
|
||||
{% endif %}
|
||||
</td>
|
||||
|
@ -39,7 +39,17 @@
|
||||
{% for p in item.get_ancestors %}
|
||||
<span class="indentation"> </span>
|
||||
{% endfor %}
|
||||
<a href="{% model_url item 'view' %}">{{ item }}</a>{% if item.related_sid %} ({{ item.print_related_type }}){% endif %}
|
||||
<a href="{% model_url item 'view' %}">{{ item }}</a>
|
||||
{% if item.get_related_type == 'application' %}
|
||||
({% trans 'Application' %}
|
||||
{% if item.get_related_slide.number %}
|
||||
{{ item.get_related_slide.number }})
|
||||
{% else %}
|
||||
<i>[{% trans "no number" %}]</i>)
|
||||
{% endif %}
|
||||
{% elif item.related_sid %}
|
||||
({{ item.print_related_type }})
|
||||
{% endif %}
|
||||
</li>
|
||||
{% empty %}
|
||||
<li>{% trans 'No items available.' %}</li>
|
||||
|
@ -434,7 +434,7 @@ class Application(models.Model, SlideMixin):
|
||||
self.save()
|
||||
|
||||
def get_agenda_title(self):
|
||||
return self.title
|
||||
return self.public_version.title
|
||||
|
||||
def __getattr__(self, name):
|
||||
"""
|
||||
|
Loading…
Reference in New Issue
Block a user