Merge pull request #1282 from normanjaeckel/FixWidgets
Fixed permission error in some widgets.
This commit is contained in:
commit
bebd73dde2
@ -27,10 +27,12 @@
|
|||||||
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
||||||
<i class="icon-facetime-video {% if item.is_active_slide and active_type == 'text' %}icon-white{% endif %}"></i>
|
<i class="icon-facetime-video {% if item.is_active_slide and active_type == 'text' %}icon-white{% endif %}"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ item|absolute_url:'update' }}"
|
{% if perms.agenda.can_manage_agenda %}
|
||||||
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
<a href="{{ item|absolute_url:'update' }}"
|
||||||
<i class="icon-pencil"></i>
|
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
||||||
</a>
|
<i class="icon-pencil"></i>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
<a href="{{ item|absolute_url:'projector_preview' }}"
|
<a href="{{ item|absolute_url:'projector_preview' }}"
|
||||||
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
||||||
<i class="icon-search"></i>
|
<i class="icon-search"></i>
|
||||||
|
@ -11,10 +11,12 @@
|
|||||||
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
||||||
<i class="icon-facetime-video {% if assignment.is_active_slide %}icon-white{% endif %}"></i>
|
<i class="icon-facetime-video {% if assignment.is_active_slide %}icon-white{% endif %}"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ assignment|absolute_url:'update' }}"
|
{% if perms.assignment.can_manage_assignment %}
|
||||||
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
<a href="{{ assignment|absolute_url:'update' }}"
|
||||||
<i class="icon-pencil"></i>
|
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
||||||
</a>
|
<i class="icon-pencil"></i>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
<a href="{{ assignment|absolute_url:'projector_preview' }}"
|
<a href="{{ assignment|absolute_url:'projector_preview' }}"
|
||||||
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
||||||
<i class="icon-search"></i>
|
<i class="icon-search"></i>
|
||||||
|
@ -11,10 +11,12 @@
|
|||||||
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
||||||
<i class="icon-facetime-video {% if motion.is_active_slide %}icon-white{% endif %}"></i>
|
<i class="icon-facetime-video {% if motion.is_active_slide %}icon-white{% endif %}"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ motion|absolute_url:'update' }}"
|
{% if perms.motion.can_manage_motion %}
|
||||||
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
<a href="{{ motion|absolute_url:'update' }}"
|
||||||
<i class="icon-pencil"></i>
|
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
||||||
</a>
|
<i class="icon-pencil"></i>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
<a href="{{ motion|absolute_url:'projector_preview' }}"
|
<a href="{{ motion|absolute_url:'projector_preview' }}"
|
||||||
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
||||||
<i class="icon-search"></i>
|
<i class="icon-search"></i>
|
||||||
|
@ -11,10 +11,12 @@
|
|||||||
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
||||||
<i class="icon-facetime-video {% if group.is_active_slide %}icon-white{% endif %}"></i>
|
<i class="icon-facetime-video {% if group.is_active_slide %}icon-white{% endif %}"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ group|absolute_url:'update' }}"
|
{% if perms.participant.can_manage_participant %}
|
||||||
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
<a href="{{ group|absolute_url:'update' }}"
|
||||||
<i class="icon-pencil"></i>
|
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
||||||
</a>
|
<i class="icon-pencil"></i>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
<a href="{{ group|absolute_url:'projector_preview' }}"
|
<a href="{{ group|absolute_url:'projector_preview' }}"
|
||||||
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
||||||
<i class="icon-search"></i>
|
<i class="icon-search"></i>
|
||||||
|
@ -11,10 +11,12 @@
|
|||||||
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
rel="tooltip" data-original-title="{% trans 'Show' %}">
|
||||||
<i class="icon-facetime-video {% if user.is_active_slide %}icon-white{% endif %}"></i>
|
<i class="icon-facetime-video {% if user.is_active_slide %}icon-white{% endif %}"></i>
|
||||||
</a>
|
</a>
|
||||||
<a href="{{ user|absolute_url:'update' }}"
|
{% if perms.participant.can_manage_participant %}
|
||||||
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
<a href="{{ user|absolute_url:'update' }}"
|
||||||
<i class="icon-pencil"></i>
|
rel="tooltip" data-original-title="{% trans 'Edit' %}" class="btn btn-mini right">
|
||||||
</a>
|
<i class="icon-pencil"></i>
|
||||||
|
</a>
|
||||||
|
{% endif %}
|
||||||
<a href="{{ user|absolute_url:'projector_preview' }}"
|
<a href="{{ user|absolute_url:'projector_preview' }}"
|
||||||
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
rel="tooltip" data-original-title="{% trans 'Preview' %}" class="btn btn-mini right">
|
||||||
<i class="icon-search"></i>
|
<i class="icon-search"></i>
|
||||||
|
Loading…
Reference in New Issue
Block a user