author | Sverre Rabbelier <srabbelier@gmail.com> |
Sat, 11 Apr 2009 22:57:23 +0000 | |
changeset 2159 | a1f1eaaf458b |
parent 1109 | a83d8c5e6650 |
permissions | -rw-r--r-- |
1109
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
1 |
{% extends "soc/base.html" %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
2 |
{% comment %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
3 |
Licensed under the Apache License, Version 2.0 (the "License"); |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
4 |
you may not use this file except in compliance with the License. |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
5 |
You may obtain a copy of the License at |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
6 |
|
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
7 |
http://www.apache.org/licenses/LICENSE-2.0 |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
8 |
|
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
9 |
Unless required by applicable law or agreed to in writing, software |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
10 |
distributed under the License is distributed on an "AS IS" BASIS, |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
11 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
12 |
See the License for the specific language governing permissions and |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
13 |
limitations under the License. |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
14 |
{% endcomment %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
15 |
{% load forms_helpers %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
16 |
|
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
17 |
{% block header_title %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
18 |
{{ page_name }} for {{ entity.link_id }} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
19 |
{% endblock %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
20 |
|
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
21 |
{% block body %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
22 |
<p> |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
23 |
<table> |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
24 |
{% readonly_field_as_table_row entity.fields.link_id.label entity.link_id %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
25 |
{% if entity.home %} |
2159
a1f1eaaf458b
Use key.id_or_name in templates rather than key.name
Sverre Rabbelier <srabbelier@gmail.com>
parents:
1109
diff
changeset
|
26 |
{% readonly_field_as_table_row entity.fields.home.label entity.home.key.id_or_name %} |
1109
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
27 |
{% endif %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
28 |
{% readonly_field_as_table_row entity.fields.feed_url.label entity.feed_url %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
29 |
{% if entity.tos %} |
2159
a1f1eaaf458b
Use key.id_or_name in templates rather than key.name
Sverre Rabbelier <srabbelier@gmail.com>
parents:
1109
diff
changeset
|
30 |
{% readonly_field_as_table_row entity.fields.tos.label entity.tos.key.id_or_name %} |
1109
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
31 |
{% endif %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
32 |
{% readonly_field_as_table_row entity.fields.ga_tracking_num.label entity.ga_tracking_num %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
33 |
{% readonly_field_as_table_row entity.fields.gmaps_api_key.label entity.gmaps_api_key %} |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
34 |
<!-- TODO(pawel.solyga) make this generic --> |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
35 |
</table> |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
36 |
</p> |
a83d8c5e6650
Edited the access check for show in site settings.
Lennard de Rijk <ljvderijk@gmail.com>
parents:
diff
changeset
|
37 |
{% endblock %} |