author | Sverre Rabbelier <srabbelier@gmail.com> |
Fri, 23 Jan 2009 15:29:42 +0000 | |
changeset 921 | e499cc2641f6 |
parent 903 | 7110fc489fd0 |
child 1109 | a83d8c5e6650 |
permissions | -rw-r--r-- |
921
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
1 |
{% extends "soc/base.html" %} |
81
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
2 |
{% comment %} |
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
3 |
Licensed under the Apache License, Version 2.0 (the "License"); |
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
4 |
you may not use this file except in compliance with the License. |
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
5 |
You may obtain a copy of the License at |
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
6 |
|
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
7 |
http://www.apache.org/licenses/LICENSE-2.0 |
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
8 |
|
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
9 |
Unless required by applicable law or agreed to in writing, software |
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
10 |
distributed under the License is distributed on an "AS IS" BASIS, |
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
11 |
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
12 |
See the License for the specific language governing permissions and |
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
13 |
limitations under the License. |
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
14 |
{% endcomment %} |
921
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
15 |
{% load forms_helpers %} |
81
b03b1ec17727
Moved soc/site/home.html to soc/site/home/public.html and updated default template for public() in home.py
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
diff
changeset
|
16 |
|
921
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
17 |
{% block header_title %} |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
18 |
{{ page_name }} for {{ entity.link_id }} |
141
e120c24b89e2
Added Melange front page edit view where you can change title, content, feed url. Created SiteSettings and Document models and some logic for them. Added isFeedURLValid function in soc/logic/feed.py. Created some functions for handling datastore updates of different kinds of Models (soc/logic/model.py). Fixed some typos and too long lines of code.
Pawel Solyga <Pawel.Solyga@gmail.com>
parents:
81
diff
changeset
|
19 |
{% endblock %} |
921
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
20 |
|
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
21 |
{% block body %} |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
22 |
<p> |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
23 |
<table> |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
24 |
{% readonly_field_as_table_row entity.fields.link_id.label entity.link_id %} |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
25 |
{% readonly_field_as_table_row entity.fields.home.label entity.home.key.name %} |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
26 |
{% readonly_field_as_table_row entity.fields.feed_url.label entity.feed_url %} |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
27 |
{% readonly_field_as_table_row entity.fields.tos.label entity.tos %} |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
28 |
{% readonly_field_as_table_row entity.fields.ga_tracking_num.label entity.ga_tracking_num %} |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
29 |
{% readonly_field_as_table_row entity.fields.gmaps_api_key.label entity.gmaps_api_key %} |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
30 |
<!-- TODO(pawel.solyga) make this generic --> |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
31 |
</table> |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
32 |
</p> |
e499cc2641f6
Create a new 'home' view for Presences
Sverre Rabbelier <srabbelier@gmail.com>
parents:
903
diff
changeset
|
33 |
{% endblock %} |