author | Sverre Rabbelier <srabbelier@gmail.com> |
Mon, 20 Oct 2008 23:24:07 +0000 | |
changeset 398 | aa1e786a0b1d |
parent 352 | c66de4d12c82 |
child 450 | 365c2cc68bd7 |
permissions | -rw-r--r-- |
238
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
1 |
{% extends "soc/base.html" %} |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
2 |
{% comment %} |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
3 |
Licensed under the Apache License, Version 2.0 (the "License"); |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
4 |
you may not use this file except in compliance with the License. |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
5 |
You may obtain a copy of the License at |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
6 |
|
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
7 |
http://www.apache.org/licenses/LICENSE-2.0 |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
8 |
|
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
9 |
Unless required by applicable law or agreed to in writing, software |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
10 |
distributed under the License is distributed on an "AS IS" BASIS, |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
11 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
12 |
See the License for the specific language governing permissions and |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
13 |
limitations under the License. |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
14 |
{% endcomment %} |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
15 |
|
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
16 |
{% block page_title %} |
398
aa1e786a0b1d
Rename 'existing_doc' and 'document' to entity
Sverre Rabbelier <srabbelier@gmail.com>
parents:
352
diff
changeset
|
17 |
{{ entity.title }} |
238
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
18 |
{% endblock %} |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
19 |
|
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
20 |
{% block header_title %} |
398
aa1e786a0b1d
Rename 'existing_doc' and 'document' to entity
Sverre Rabbelier <srabbelier@gmail.com>
parents:
352
diff
changeset
|
21 |
{{ entity.title }} |
238
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
22 |
{% endblock %} |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
23 |
|
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
24 |
{% block body %} |
398
aa1e786a0b1d
Rename 'existing_doc' and 'document' to entity
Sverre Rabbelier <srabbelier@gmail.com>
parents:
352
diff
changeset
|
25 |
<div id="createdon">Created on: {{ entity.created }}</div> |
aa1e786a0b1d
Rename 'existing_doc' and 'document' to entity
Sverre Rabbelier <srabbelier@gmail.com>
parents:
352
diff
changeset
|
26 |
<div id="createdby">Created by: {{ entity.author.nick_name }}</div> |
aa1e786a0b1d
Rename 'existing_doc' and 'document' to entity
Sverre Rabbelier <srabbelier@gmail.com>
parents:
352
diff
changeset
|
27 |
<div id="content">{{ entity.content|safe }}</div> |
aa1e786a0b1d
Rename 'existing_doc' and 'document' to entity
Sverre Rabbelier <srabbelier@gmail.com>
parents:
352
diff
changeset
|
28 |
<div id="lastmodified">Last updated on: {{ entity.modified }}</div> |
238
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
29 |
{% endblock %} |