Index: openacs-4/contrib/packages/cop-base/lib/cop-footer.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/cop-base/lib/cop-footer.adp,v diff -u -r1.2 -r1.3 --- openacs-4/contrib/packages/cop-base/lib/cop-footer.adp 31 Mar 2004 21:15:22 -0000 1.2 +++ openacs-4/contrib/packages/cop-base/lib/cop-footer.adp 2 Apr 2004 01:50:49 -0000 1.3 @@ -1,7 +1,7 @@
- object: @displayed_object_id@ package_id: @cur_pkg@ acs_obj.package_id: @obj_pkg@ name: @tname@
+
@@ -73,7 +73,7 @@
- offsite links, Search, RSS, notifications. + Todo: offsite links, RSS, notifications, rate the antecedent related item etc.
Index: openacs-4/contrib/packages/cop-base/www/index.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/cop-base/www/index.adp,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/cop-base/www/index.adp 31 Mar 2004 21:15:22 -0000 1.1 +++ openacs-4/contrib/packages/cop-base/www/index.adp 2 Apr 2004 01:50:49 -0000 1.2 @@ -2,3 +2,7 @@ CoP Central Create a new community +
+
+
+ Load the APLAWS categories Index: openacs-4/contrib/packages/cop-ui/www/ratings/ratings.adp =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/cop-ui/www/ratings/ratings.adp,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/cop-ui/www/ratings/ratings.adp 28 Mar 2004 21:17:11 -0000 1.1 +++ openacs-4/contrib/packages/cop-ui/www/ratings/ratings.adp 2 Apr 2004 01:50:49 -0000 1.2 @@ -2,4 +2,6 @@ @title@ @context@ +

View item

+

@owner_name@'s member page

\ No newline at end of file Index: openacs-4/contrib/packages/cop-ui/www/ratings/ratings.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/cop-ui/www/ratings/ratings.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/cop-ui/www/ratings/ratings.tcl 28 Mar 2004 21:17:11 -0000 1.1 +++ openacs-4/contrib/packages/cop-ui/www/ratings/ratings.tcl 2 Apr 2004 01:50:49 -0000 1.2 @@ -25,6 +25,7 @@ if {![empty_string_p $owner_id]} { set owner_name [db_string owner_name {select person__name(:owner_id);}] + set owner_url [acs_community_member_url -user_id $user_id] append title " by $owner_name" append clause "and r.owner_id = :owner_id\n" } @@ -57,15 +58,16 @@ if {[empty_string_p $object_id]} { lappend elements object_title { label {Item} - display_template {@ratings.object_title@ (ratings)} + display_template {@ratings.object_title@ (ratings)} } } +if { 0 } { lappend elements extra { label {Debug} display_template {o.title:@ratings.obj_title@ url:@ratings.url_one@ type:@ratings.object_type@} } - +} if {$admin_p} { set bulk [list "Delete ratings" delete] } else { Index: openacs-4/contrib/packages/cop-ui/www/related/index.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/contrib/packages/cop-ui/www/related/index.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/contrib/packages/cop-ui/www/related/index.tcl 28 Mar 2004 21:17:11 -0000 1.1 +++ openacs-4/contrib/packages/cop-ui/www/related/index.tcl 2 Apr 2004 01:50:49 -0000 1.2 @@ -20,21 +20,19 @@ set elements { object_one_title { label {Item1} - display_template {@related.object_one_title@} + display_template {@related.object_one_title@} } object_two_title { label {Item2} - display_template {@related.object_two_title@} + display_template {@related.object_two_title@} } related_on { label {Added} } name { label {By} + link_url_col user_url } - extra { - label {debug} - } } template::list::create \ @@ -48,13 +46,14 @@ name { orderby {lower(person__name(ro.creation_user))}} } -db_multirow -extend {extra} related related " - SELECT to_char(ro.creation_date,'YYYY-MM-DD HH24:MI') as related_on, coalesce(o1.title,'? '||o1.object_type||o1.object_id) as object_one_title, o2.title as object_two_title, person__name(ro.creation_user) as name +db_multirow -extend {extra user_url} related related " + SELECT to_char(ro.creation_date,'YYYY-MM-DD HH24:MI') as related_on, coalesce(o1.title,'? '||o1.object_type||o1.object_id) as object_one_title, o2.title as object_two_title, person__name(ro.creation_user) as name, object_id_one, object_id_two FROM cop_rels r, acs_objects o1, acs_objects o2, acs_rels ar, acs_objects ro WHERE o1.object_id = ar.object_id_one and o2.object_id = ar.object_id_two and ar.rel_id = r.rel_id and ro.object_id = r.rel_id [template::list::orderby_clause -orderby -name "related"]" { + set user_url [acs_community_member_url -user_id $user_id] set extra foo }