From: khamidou Date: Sun, 3 Jan 2010 20:01:06 +0000 (+0100) Subject: fixed a typo in feed template X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;ds=sidebyside;p=fuzzr.git fixed a typo in feed template --- diff --git a/models.py b/models.py index 41faf49..72ebacf 100644 --- a/models.py +++ b/models.py @@ -12,7 +12,7 @@ actions = db.actions def create_post(title, desc, for_musicians=0): return {"title": title, "description": desc, - "for-musicians": for_musicians) + "for-musicians": for_musicians, } def create_user(username, passwd, is_root, is_musician=0): diff --git a/static/style.css~ b/static/style.css~ deleted file mode 100644 index aeb728b..0000000 --- a/static/style.css~ +++ /dev/null @@ -1,11 +0,0 @@ -body { - background-color: white; - font: 13.34px helvetica, arial, clean, sans-serif; - font-size: small; - width: 750px; - margin: 0 auto; - -} - -#wrap { -} \ No newline at end of file diff --git a/templates/error.htm~ b/templates/error.htm~ deleted file mode 100644 index c4d157b..0000000 --- a/templates/error.htm~ +++ /dev/null @@ -1 +0,0 @@ -$error diff --git a/templates/feed.xml b/templates/feed.xml index d9c413b..4f2b48f 100644 --- a/templates/feed.xml +++ b/templates/feed.xml @@ -1,11 +1,12 @@ $def with (actions, username) - + + $username Fuzzr RSS feed -http://fuzzr.org/page/$username/feed.xml +http://fuzzr.org/page/$username/ diff --git a/templates/feed.xml~ b/templates/feed.xml~ index a74e99e..d9c413b 100644 --- a/templates/feed.xml~ +++ b/templates/feed.xml~ @@ -1,21 +1,20 @@ $def with (actions, username) - - + $username Fuzzr RSS feed -http://fuzzr.org/page/$username/feed.rss +http://fuzzr.org/page/$username/feed.xml $for action in actions: - -$action["title"] -$action["description"] -http://fuzzr.org/page/$username/ - + + $action["title"] + $action["description"] + http://fuzzr.org/page/$username/ + - \ No newline at end of file + diff --git a/templates/index.htm~ b/templates/index.htm~ deleted file mode 100644 index a1d7d70..0000000 --- a/templates/index.htm~ +++ /dev/null @@ -1,8 +0,0 @@ - - -Page -Karim's feed -login -logout -Add diff --git a/templates/layout.htm~ b/templates/layout.htm~ deleted file mode 100644 index cf536e1..0000000 --- a/templates/layout.htm~ +++ /dev/null @@ -1,11 +0,0 @@ -$def with (content) - - - Fuzzr - - - - Home, home again - $:content - - diff --git a/templates/login.htm~ b/templates/login.htm~ deleted file mode 100644 index b094dfa..0000000 --- a/templates/login.htm~ +++ /dev/null @@ -1,6 +0,0 @@ -$def with (form) - -
-$if not form.valid:

Unable to log you, please retry

-$:form.render() -
diff --git a/templates/page.htm~ b/templates/page.htm~ deleted file mode 100644 index fbafb20..0000000 --- a/templates/page.htm~ +++ /dev/null @@ -1,9 +0,0 @@ -$def with (actions, username) - -
-$if username != None:

$username's page

-
    - $for action in actions: -
  • $action["description"]
  • -
-
diff --git a/templates/userfeed.rss~ b/templates/userfeed.rss~ deleted file mode 100644 index a74e99e..0000000 --- a/templates/userfeed.rss~ +++ /dev/null @@ -1,21 +0,0 @@ -$def with (actions, username) - - - - - -$username Fuzzr RSS feed - -http://fuzzr.org/page/$username/feed.rss - - - -$for action in actions: - -$action["title"] -$action["description"] -http://fuzzr.org/page/$username/ - - - - \ No newline at end of file diff --git a/templates/userfeed.rss~~ b/templates/userfeed.rss~~ deleted file mode 100644 index a74e99e..0000000 --- a/templates/userfeed.rss~~ +++ /dev/null @@ -1,21 +0,0 @@ -$def with (actions, username) - - - - - -$username Fuzzr RSS feed - -http://fuzzr.org/page/$username/feed.rss - - - -$for action in actions: - -$action["title"] -$action["description"] -http://fuzzr.org/page/$username/ - - - - \ No newline at end of file