[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. 508dd367c7bed8d1ee434863c60965917407d2a9

Stefan Hornburg racke at rt.icdevgroup.org
Thu May 28 10:02:25 UTC 2009


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Interchange wellwell catalog".

The branch, master has been updated
       via  508dd367c7bed8d1ee434863c60965917407d2a9 (commit)
      from  4afad5106d19f59c5fca51fa309e49b70cb9dce9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 508dd367c7bed8d1ee434863c60965917407d2a9
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Thu May 28 12:01:46 2009 +0200

    switch to a different way to display content

-----------------------------------------------------------------------

Summary of changes and diff:
 plugins/content/components/content_overview |   18 ++++++++++++++++++
 plugins/content/pages/content/recent.itl    |    2 +-
 2 files changed, 19 insertions(+), 1 deletions(-)
 create mode 100644 plugins/content/components/content_overview

diff --git a/plugins/content/components/content_overview b/plugins/content/components/content_overview
new file mode 100644
index 0000000..7055a82
--- /dev/null
+++ b/plugins/content/components/content_overview
@@ -0,0 +1,18 @@
+[acl check view_content]
+[query sql="select * from content order by created desc" list=1]
+[list]
+<div class="content">
+<h2>[sql-param title]</h2>
+<span class="contentmeta">
+[msg arg.0="[user name [sql-param uid]]" arg.1=|[time time="[sql-param created]"]|]Submitted by %s on %s.[/msg]
+</span>
+<div class="contentbody">
+[sql-param body]
+</div>
+<div class="contentlinks">
+[acl check edit_content]<a href="[area content/edit/[sql-code]]">Edit</a>[/acl]
+</div>
+</div>
+[/list]
+[/query]
+[/acl]
\ No newline at end of file
diff --git a/plugins/content/pages/content/recent.itl b/plugins/content/pages/content/recent.itl
index 12e90f6..a3caf10 100644
--- a/plugins/content/pages/content/recent.itl
+++ b/plugins/content/pages/content/recent.itl
@@ -1,3 +1,3 @@
 [compose
-	components.body="content_list"
+	components.body="content_overview"
 ]
\ No newline at end of file


hooks/post-receive
-- 
Interchange wellwell catalog



More information about the wellwell-devel mailing list