diff --git a/app/templates/packages/create_edit.html b/app/templates/packages/create_edit.html index c9797cf..c67af90 100644 --- a/app/templates/packages/create_edit.html +++ b/app/templates/packages/create_edit.html @@ -25,6 +25,17 @@ {% endblock %} {% block content %} + {% if package %} +

{{ _("Edit Details") }}

+ {% else %} +

+ {{ _("Create Package") }} + {% if author != current_user %} + for {{ author.display_name }} + {% endif %} +

+ {% endif %} + {% if not package %}
{{ _("View") }} diff --git a/app/templates/packages/edit_maintainers.html b/app/templates/packages/edit_maintainers.html index c865910..81d387f 100644 --- a/app/templates/packages/edit_maintainers.html +++ b/app/templates/packages/edit_maintainers.html @@ -4,8 +4,8 @@ {{ _("Edit Maintainers") }} {% endblock %} - {% block content %} +

{{ _("Maintainers") }}

{% from "macros/forms.html" import render_submit_field, render_field %}

{{ _("Maintainers are given write access to the package.") }} diff --git a/app/templates/packages/package_base.html b/app/templates/packages/package_base.html index 18b39fc..b74ddd0 100644 --- a/app/templates/packages/package_base.html +++ b/app/templates/packages/package_base.html @@ -1,40 +1,33 @@ {% extends "base.html" %} {% block container %} - {% if tabs %} -

- - {% endif %} - - {% if tabs %} -
+ {% endif %} +
{{ self.content() }} -
- {% else %} -
-

{{ self.title() }}

- - {{ self.content() }} -
- {% endif %} + + + {% endblock %} diff --git a/app/templates/packages/remove.html b/app/templates/packages/remove.html index f8394f8..0d5b43b 100644 --- a/app/templates/packages/remove.html +++ b/app/templates/packages/remove.html @@ -6,7 +6,7 @@ Remove {{ package.title }} {% block content %}
-

Remove {{ package.title }}

+

Remove {{ package.title }}

In order to avoid data loss, you cannot permanently delete packages. You can remove them from ContentDB, which will cause them to not be