bundled/flask/examples/minitwit/templates/layout.html @ 354188b0eca0
Allow signoff to be added when one already exists on a precursor. The current obsolescence support makes little difference between comments/signoff from a cset and the ones from its predecessors. This patch avoid a signoff from a precursor to be seen as changeable, and allow the user to re-signoff on the latest version of the changeset.
| author | Christophe de Vienne <cdevienne@gmail.com> |
|---|---|
| date | Wed, 29 Oct 2014 14:32:27 +0100 |
| parents | f33efe14bff1 |
| children | (none) |
<!doctype html> <title>{% block title %}Welcome{% endblock %} | MiniTwit</title> <link rel=stylesheet type=text/css href="{{ url_for('static', filename='style.css') }}"> <div class=page> <h1>MiniTwit</h1> <div class=navigation> {% if g.user %} <a href="{{ url_for('timeline') }}">my timeline</a> | <a href="{{ url_for('public_timeline') }}">public timeline</a> | <a href="{{ url_for('logout') }}">sign out [{{ g.user.username }}]</a> {% else %} <a href="{{ url_for('public_timeline') }}">public timeline</a> | <a href="{{ url_for('register') }}">sign up</a> | <a href="{{ url_for('login') }}">sign in</a> {% endif %} </div> {% with flashes = get_flashed_messages() %} {% if flashes %} <ul class=flashes> {% for message in flashes %} <li>{{ message }} {% endfor %} </ul> {% endif %} {% endwith %} <div class=body> {% block body %}{% endblock %} </div> <div class=footer> MiniTwit — A Flask Application </div> </div>