diff --git a/tcms/templates/include/bug_details.html b/tcms/templates/include/bug_details.html index 43401c494b..407b6a8b1c 100644 --- a/tcms/templates/include/bug_details.html +++ b/tcms/templates/include/bug_details.html @@ -1,52 +1,17 @@ {% load i18n %} -
-
- - {% trans 'Status' %}: - {% if object.status %} - {% trans 'Open' %} - {% else %} - {% trans 'Closed' %} - {% endif %} -
+{% trans 'Status' %}: {% if object.status %}{% trans 'Open' %}{% else %}{% trans 'Closed' %}{% endif %} -
- - {{ object.created_at }} -
+{% trans 'Created at' %}: {{ object.created_at }} -
- - {% trans 'Reporter' %}: - {{ object.reporter.username }} -
+{% trans 'Reporter' %}: {{ object.reporter.username }} -
- - {% trans 'Assignee' %}: - {% if object.assignee %} - {{ object.assignee.username }} - {% else %} - - - {% endif %} -
+{% if object.assignee %} + {% trans 'Assignee' %}: {{ object.assignee.username }} +{% endif %} -
- - {% trans 'Product' %}: - {{ object.product }} -
+{% trans 'Product' %}: {{ object.product }} -
- - {% trans 'Version' %}: - {{ object.version }} -
+{% trans 'Version' %}: {{ object.version }} -
- - {% trans 'Build' %}: - {{ object.build }} -
-
+{% trans 'Build' %}: {{ object.build }}