Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace placeholder text by instructions for creating a map and changing permissions #490

Merged
merged 1 commit into from
Nov 1, 2012
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions geonode/layers/templates/layers/layer_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -205,14 +205,14 @@ <h2>{% trans "Maps using this layer" %}</h2>
</div>
<div class="well">
<h2>{% trans "Create a map using this layer" %}</h2>
<p>{% trans "Placeholder" %}</p>
<p>{% trans "Click the button below to generate a new map based on this layer." %}</p>
<a href="{% url "new_map" %}?layer={{layer.typename}}" class="btn btn-large">{% trans "Create a Map" %}</a>
</div>
{% has_obj_perm user layer "layer.change_layer_permissions" as can_change_permissions %}
{% if can_change_permissions %}
<div class="well">
<h2>{% trans "Permissions" %}</h2>
<p>{% trans "Placeholder" %}</p>
<p>{% trans "Click the button below to change the permissions of this layer." %}</p>
<p><a href="#modal_perms" data-toggle="modal" class="btn btn-large">{% trans "Change Layer Permissions" %}</a></p>
</div>
{% endif %}
Expand Down