diff --git a/links/templates/links/tag_confirm_delete.html b/links/templates/links/tag_confirm_delete.html index 0d8a559..264fec9 100644 --- a/links/templates/links/tag_confirm_delete.html +++ b/links/templates/links/tag_confirm_delete.html @@ -1,30 +1,59 @@ {% extends "base.html" %} {% load i18n %} - {% block content %} -
-
-
-

{% trans "Delete Tag" %}

+ -

- {% blocktrans with tag_name=tag.name %} - Are you sure you want to delete the tag "{{ tag_name }}"? This action cannot be undone. - {% endblocktrans %} -

- -
- {% csrf_token %} -
- - {% trans "Cancel" %} - - -
-
+
+
+ +

{% trans "Delete Tag" %}

+

+ {% blocktrans with tag_name=tag.name %} + Are you sure you want to delete the tag "{{ tag_name }}"? This action cannot be undone. + {% endblocktrans %} +

+
+ {% csrf_token %} +
+ {% trans "Cancel" %} + +
+
{% endblock %} diff --git a/links/templates/links/tag_detail.html b/links/templates/links/tag_detail.html index 5adee81..7c1b744 100644 --- a/links/templates/links/tag_detail.html +++ b/links/templates/links/tag_detail.html @@ -1,218 +1,259 @@ {% extends "base.html" %} {% load i18n %} - {% block content %} -
-
- -
-
-
-

{{ tag.name }}

- {% if tag.description %} -

{{ tag.description }}

- {% endif %} -
- {% trans "Used" %}: {{ total_usage_count }} {% trans "times" %} -
-
- + + +
+
+ +
+
+

{{ tag.name }}

+ {% if tag.description %}

{{ tag.description }}

{% endif %} + + + {% trans "Used" %} {{ total_usage_count }} {% trans "times" %} +
-
- - -
- -
- - -
- - - - - - - - - - -
+ + +
+ + + + +
+ + + + + + + + + + + +
- {% endblock %} diff --git a/links/templates/links/tag_form.html b/links/templates/links/tag_form.html index 81d9c71..5c46edc 100644 --- a/links/templates/links/tag_form.html +++ b/links/templates/links/tag_form.html @@ -1,60 +1,68 @@ {% extends "base.html" %} {% load i18n %} - {% block content %} -
-
-
-

- {% if form.instance.pk %} - {% trans "Edit Tag" %} + + +
+
+

{% if form.instance.pk %}{% trans "Edit Tag" %}{% else %}{% trans "New Tag" %}{% endif %}

+
+ {% csrf_token %} + {% for field in form %} +
+ + {% if field.name == 'description' %} + {% else %} - {% trans "New Tag" %} + {% endif %} -

-
- -
- - {% csrf_token %} - - {% for field in form %} -
- -
- {% if field.name == 'description' %} - - {% else %} - - {% endif %} -
- {% if field.help_text %} -

{{ field.help_text }}

- {% endif %} - {% if field.errors %} -
- {{ field.errors }} -
- {% endif %} -
- {% endfor %} - -
- - {% trans "Cancel" %} - - -
- -
+ {% if field.help_text %}

{{ field.help_text }}

{% endif %} + {% if field.errors %}

{{ field.errors }}

{% endif %} +
+ {% endfor %} +
+ {% trans "Cancel" %} + +
+
{% endblock %} diff --git a/links/templates/links/tag_list.html b/links/templates/links/tag_list.html index e9c87e8..d64820a 100644 --- a/links/templates/links/tag_list.html +++ b/links/templates/links/tag_list.html @@ -1,240 +1,242 @@ {% extends "base.html" %} -{% load i18n %} - +{% load i18n static %} {% block content %} -
-
-

{% trans "Tags" %}

- + + +
+ + - -
-

{% trans "Tag Cloud" %}

-
+ +
+

{% trans "Tag Cloud" %}

+
- -
-
- {% trans "Sort by:" %} - - {% trans "Name (A-Z)" %} - - - {% trans "Name (Z-A)" %} - - - {% trans "Most Used" %} - - - {% trans "Least Used" %} - + +
+ - - -
- -
- -
+
- - - - - + + {% endblock %}