app/soc/templates/soc/document/public.html
author Lennard de Rijk <ljvderijk@gmail.com>
Mon, 24 Nov 2008 22:34:56 +0000
changeset 584 ba8a624506e5
parent 546 850d9a5ad894
child 2382 3a6302dd346b
permissions -rw-r--r--
Adds and uses a modified_by property in models/work.py This property is used to display the user who last edited the work in the document viewer. Fixes author being set on every edit. Also edited the style-sheet to fix issue i128. Patch by: Lennard de Rijk

{% extends "soc/base.html" %}
{% comment %}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
{% endcomment %}

{% block page_title %}
{{ entity.title }}
{% endblock %}

{% block header_title %}
{{ entity.title }}
{% endblock %}

{% block body %}
<div id="created">Last modified on {{ entity.modified }} by {{ entity.modified_by.name }}</div>
<div id="content">{{ entity.content|safe }}</div>
{% endblock %}