Skip to content

Commit

Permalink
Merge remote-tracking branch 'brew/organization-templates'
Browse files Browse the repository at this point in the history
  • Loading branch information
wardi committed Sep 17, 2015
2 parents 7c2f2e0 + 7f5283e commit 969995b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -1,4 +1,4 @@
{% extends "group/about.html" %}
{% extends "organization/about.html" %}

{% block primary_content_inner %}
<dl>
Expand Down
Expand Up @@ -16,10 +16,10 @@
<div class="form-actions">
{% block delete_button %}
{% if h.check_access('group_delete', {'id': data.id}) and action=='edit' %}
{% set locale = h.dump_json({'content': _('Are you sure you want to delete this Group?')}) %}
<a class="btn btn-danger pull-left" href="{% url_for controller='group', action='delete', id=data.id %}" data-module="confirm-action" data-module-i18n="{{ locale }}">{% block delete_button_text %}{{ _('Delete') }}{% endblock %}</a>
{% set locale = h.dump_json({'content': _('Are you sure you want to delete this Organization?')}) %}
<a class="btn btn-danger pull-left" href="{% url_for controller='organization', action='delete', id=data.id %}" data-module="confirm-action" data-module-i18n="{{ locale }}">{% block delete_button_text %}{{ _('Delete') }}{% endblock %}</a>
{% endif %}
{% endblock %}
<button class="btn btn-primary" name="save" type="submit">{% block save_text %}{{ _('Save Group') }}{% endblock %}</button>
<button class="btn btn-primary" name="save" type="submit">{% block save_text %}{{ _('Save Organization') }}{% endblock %}</button>
</div>
</form>

0 comments on commit 969995b

Please sign in to comment.