File tree 2 files changed +7
-0
lines changed
geotrek/signage/templates/signage
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,10 @@ CHANGELOG
5
5
2.94.0+dev (XXXX-XX-XX)
6
6
-----------------------
7
7
8
+ **Minor improvements **
9
+
10
+ - Add blade type on signage detail view (#3325)
11
+
8
12
**Warning **
9
13
10
14
Bionic (Ubuntu 18.04) instances need to install deadsnakes PPA to handle python3.8 updates:
Original file line number Diff line number Diff line change @@ -76,6 +76,7 @@ <h3>{% trans "Blades" %}</h3>
76
76
{% if object.order_blades %}
77
77
< tr >
78
78
< th > {% trans "Code" %}</ th >
79
+ < th > {% trans "Type" %}</ th >
79
80
< th > {% trans "Color" %}</ th >
80
81
{% if not is_direction_on_lines_enabled %}
81
82
< th > {% trans "Direction" %}</ th >
@@ -95,6 +96,7 @@ <h3>{% trans "Blades" %}</h3>
95
96
< tr {% if blade.order_lines.all|length > 1 %}class="dashed-line"{% endif %}>
96
97
{% if not is_direction_on_lines_enabled %}
97
98
< td > < a href ="{% url 'signage:blade_detail' blade.pk %} "> {{ blade }}</ a > </ td >
99
+ < td > {{ blade.type|default_if_none:"" }}</ td >
98
100
< td > {{ blade.color|default_if_none:"" }}</ td >
99
101
< td > {{ blade.direction }}</ td >
100
102
< td > {{ blade.condition|default_if_none:"" }}</ td >
@@ -111,6 +113,7 @@ <h3>{% trans "Blades" %}</h3>
111
113
{% endfor %}
112
114
{% else %}
113
115
< td > < a href ="{% url 'signage:blade_detail' blade.pk %} "> {{ blade }}</ a > </ td >
116
+ < td > {{ blade.type|default_if_none:"" }}</ td >
114
117
< td > {{ blade.color|default_if_none:"" }}</ td >
115
118
< td > {{ blade.condition|default_if_none:"" }}</ td >
116
119
{% for line in blade.order_lines.all %}
You can’t perform that action at this time.
0 commit comments