Skip to content

Commit 4336a96

Browse files
committed
Fixed equal in if conditions on templates.
1 parent 534aa35 commit 4336a96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package_monitor/templates/_package.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
<td>{{ pv.package_name }}</td>
33
<td>{{ pv.current_version }}</td>
44
<td>{{ pv.next_version }}</td>
5-
<td style="color: {% if pv.diff_status = 'major' %}red{% elif pv.diff_status = 'minor' %}orange{% elif pv.diff_status = 'patch' %}green{% endif %}">{{ pv.latest_version }}</td>
5+
<td style="color: {% if pv.diff_status == 'major' %}red{% elif pv.diff_status == 'minor' %}orange{% elif pv.diff_status == 'patch' %}green{% endif %}">{{ pv.latest_version }}</td>
66
<td>{{ pv.diff_status }}</td>
77
</tr>

0 commit comments

Comments
 (0)