a b/forgeblog/templates/blog/post_diff.html
1
{% extends g.theme.master %}
2
3
{% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / {{p1.title}}{% endblock %}
4
5
{% block header %}{{p1.title}}{% endblock %}
6
7
{% block extra_css %}
8
    <style type="text/css">
9
      .diff_add { text-decoration: underline; background-color: #0f0; }
10
      .diff_sub { text-decoration: line-through; background-color: #f00; }
11
      ins { text-decoration: none; background-color: lightgreen; }
12
      del { text-decoration: none; background-color: pink; }
13
    </style>
14
{% endblock %}
15
16
{% block content %}
17
          <p>Comparing <a href=".?version={{p1.version}}">Version {{p1.version}}</a>
18
            with <a href=".?version={{p2.version}}">Version {{p2.version}}</a></p>
19
          <hr/>
20
          <div style="font-family: fixed">
21
            {{edits|safe}}
22
          </div>
23
{% endblock %}