mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-09 03:44:32 -04:00
Add link to edit postage to view_template page
This commit is contained in:
@@ -39,3 +39,9 @@
|
||||
top: 400px; // aligns to top of subject
|
||||
left: -5px;
|
||||
}
|
||||
|
||||
.edit-template-link-letter-postage {
|
||||
@extend %edit-template-link;
|
||||
top: -20px; // aligns to top of subject
|
||||
left: -5px;
|
||||
}
|
||||
|
||||
@@ -50,6 +50,7 @@
|
||||
</div>
|
||||
<div class="column-whole template-container">
|
||||
{% if current_user.has_permissions('manage_templates') and template.template_type == 'letter' %}
|
||||
<a href="{{ url_for(".edit_template_postage", service_id=current_service.id, template_id=template.id) }}" class="edit-template-link-letter-postage">Edit</a>
|
||||
<a href="{{ url_for(".edit_service_template", service_id=current_service.id, template_id=template.id) }}" class="edit-template-link-letter-body">Edit</a>
|
||||
<a href="{{ url_for(".set_template_sender", service_id=current_service.id, template_id=template.id) }}" class="edit-template-link-letter-contact">Edit</a>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user