Skip to content

Commit

Permalink
[#1102] Changed labelling on remove and add buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
johnmartin committed Nov 28, 2013
1 parent 8ce0b90 commit 9f3bd90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ckan/templates/group/snippets/group_item.html
Expand Up @@ -38,7 +38,7 @@ <h3 class="media-heading">{{ group.display_name }}</h3>
<span>{{ _('View {name}').format(name=group.display_name) }}</span>
</a>
{% if group.user_member %}
<button name="group_removed" value="{{ group.id }}" type="submit" class="btn btn-danger btn-small media-edit" title="{{ _('Remove this group from dataset') }}">{{ _('Remove') }}</button>
<button name="group_removed" value="{{ group.id }}" type="submit" class="btn btn-danger btn-small media-edit" title="{{ _('Remove dataset from this group') }}">{{ _('Remove') }}</button>
{% endif %}
</li>
{% if position is divisibleby 3 %}
Expand Down
3 changes: 1 addition & 2 deletions ckan/templates/package/group_list.html
Expand Up @@ -6,13 +6,12 @@ <h2 class="hide-heading">{{ _('Groups') }}</h2>

{% if c.group_dropdown %}
<form method="post" class="form-horizontal">
{#'data-module': ''#}
<select id="field-add_group" name="group_added" data-module="autocomplete">
{% for option in c.group_dropdown %}
<option value="{{ option[0] }}"> {{ option[1] }}</option>
{% endfor %}
</select>
<button type="submit" class="btn btn-primary" title="{{ _('Associate this group with this dataset') }}">{{ _('Add group') }}</button>
<button type="submit" class="btn btn-primary" title="{{ _('Associate this group with this dataset') }}">{{ _('Add to group') }}</button>
</form>
{% endif %}

Expand Down

0 comments on commit 9f3bd90

Please sign in to comment.