author | Todd Larsen <tlarsen@google.com> |
Thu, 16 Oct 2008 04:37:13 +0000 | |
changeset 351 | b37fc4c1e189 |
parent 238 | d6b533f99a45 |
child 352 | c66de4d12c82 |
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 %} |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
17 |
{{ document.title }} |
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 %} |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
21 |
{{ document.title }} |
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 %} |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
25 |
<div id="createdon">Created on: {{ document.created }}</div> |
351
b37fc4c1e189
Eliminate the Work.abstract property and move the Document.content property
Todd Larsen <tlarsen@google.com>
parents:
238
diff
changeset
|
26 |
<div id="createdby">Created on: {{ document.author.nick_name }}</div> |
238
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
27 |
{{ document.content|safe }} |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
28 |
<div id="lastmodified">Last updated on: {{ document.modified }}</div> |
d6b533f99a45
A very simplistic Document viewer.
Todd Larsen <tlarsen@google.com>
parents:
diff
changeset
|
29 |
{% endblock %} |