[Bps-public-commit] r14403 - in Prophet/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Tue Jul 22 21:55:39 EDT 2008


Author: sartak
Date: Tue Jul 22 21:55:38 2008
New Revision: 14403

Modified:
   Prophet/trunk/   (props changed)
   Prophet/trunk/lib/Prophet/Server/View.pm

Log:
 r64762 at onn:  sartak | 2008-07-22 21:53:14 -0400
 Add a link to view each record in the table


Modified: Prophet/trunk/lib/Prophet/Server/View.pm
==============================================================================
--- Prophet/trunk/lib/Prophet/Server/View.pm	(original)
+++ Prophet/trunk/lib/Prophet/Server/View.pm	Tue Jul 22 21:55:38 2008
@@ -24,6 +24,8 @@
                 if (@items) {
                     my @headers = $items[0]->_parse_format_summary;
                     row {
+                        th { outs_raw ' ' };
+
                         for (@headers) {
                             th { $_->{prop} }
                         }
@@ -38,6 +40,13 @@
                     row {
                         attr { id => "$type-$uuid", class => "$type" };
 
+                        cell {
+                            a {
+                                attr { href => "$uuid.html" };
+                                outs "(view)";
+                            }
+                        };
+
                         for (@atoms) {
                             my $prop = $_->{prop};
                             cell {



More information about the Bps-public-commit mailing list