[Bps-public-commit] r15254 - in Pushmi/trunk: Pushmi-Admin/lib/Pushmi/Admin

alexmv at bestpractical.com alexmv at bestpractical.com
Tue Aug 19 19:52:27 EDT 2008


Author: alexmv
Date: Tue Aug 19 19:52:26 2008
New Revision: 15254

Modified:
   Pushmi/trunk/   (props changed)
   Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/View.pm

Log:
 r36203 at kohr-ah:  chmrr | 2008-08-19 19:51:28 -0400
  * Differentiate the "Loading..." messages by showing replica name


Modified: Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/View.pm
==============================================================================
--- Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/View.pm	(original)
+++ Pushmi/trunk/Pushmi-Admin/lib/Pushmi/Admin/View.pm	Tue Aug 19 19:52:26 2008
@@ -101,10 +101,12 @@
 };
 
 template 'fragments/replica-loading' => sub {
+    my $id = get('id');
+    my $replica = Pushmi::Admin::Model::Replica->load($id);
     div { { class is "status-light lazy"} };
     div {
         { class is "replica"};
-        h3 { "Loading.." }
+        h3 { "Loading " . $replica->name . "..." }
     }
 };
 



More information about the Bps-public-commit mailing list