]> git.ipfire.org Git - ipfire.org.git/commitdiff
docs: Make the diff colourful again
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 12 Oct 2023 19:40:56 +0000 (19:40 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 12 Oct 2023 19:40:56 +0000 (19:40 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/templates/docs/modules/diff.html

index 42f1fec2683e409e91eca2c229fba1093becf1e6..2c55ea67566db8200441baef4b28967489cd51f6 100644 (file)
@@ -3,11 +3,11 @@
                <tbody>
                        {% for line in diff %}
                                {% if not line.startswith("?") %}
-                                       <tr class="{% if line.startswith("+") %}is-success{% elif line.startswith("-") %}is-danger{% end %}">
+                                       <tr class="{% if line.startswith("+") %}has-text-success{% elif line.startswith("-") %}has-text-danger{% end %}">
                                                <td>{% if line[2:] %}{{ line[2:] }}{% else %}&nbsp;{% end %}</td>
                                        </tr>
                                {% end %}
                        {% end %}
                </tbody>
        </table>
-</div>
\ No newline at end of file
+</div>