[Bps-public-commit] App-Changeloggr branch, master, updated. 4748282f738478e3526cb84ca88ab2d1e98db791

sartak at bestpractical.com sartak at bestpractical.com
Mon Jul 27 18:31:16 EDT 2009


The branch, master has been updated
       via  4748282f738478e3526cb84ca88ab2d1e98db791 (commit)
      from  a43facbb8655861256b19dcf283a3d356942068f (commit)

Summary of changes:
 lib/App/Changeloggr/View/Admin.pm |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit 4748282f738478e3526cb84ca88ab2d1e98db791
Author: Shawn M Moore <sartak at gmail.com>
Date:   Mon Jul 27 18:31:08 2009 -0400

    Add tooltip and description to tag display

diff --git a/lib/App/Changeloggr/View/Admin.pm b/lib/App/Changeloggr/View/Admin.pm
index a6442e7..ed24c9e 100644
--- a/lib/App/Changeloggr/View/Admin.pm
+++ b/lib/App/Changeloggr/View/Admin.pm
@@ -219,6 +219,22 @@ EOT
                             }
                         }
                         $delete_tag->button(label => "Delete", class => "inline delete");
+
+                        my $tooltip = $tag->tooltip;
+                        my $description = $tag->description;
+
+                        if ($tooltip || $description) {
+                            dl {
+                                if ($tooltip) {
+                                    dt { "Tooltip" }
+                                    dd { $tooltip  }
+                                }
+                                if ($description) {
+                                    dt { "Description" }
+                                    dd { $description  }
+                                }
+                            }
+                        }
                     }
                 }
             }

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



More information about the Bps-public-commit mailing list