[Bps-public-commit] rt-extension-assets branch, 1.0/add-catalog-css-class, created. 0975a056534a0ef3e9a1e56ec5ce69569389475f

Alex Vandiver alexmv at bestpractical.com
Mon Jan 27 15:55:29 EST 2014


The branch, 1.0/add-catalog-css-class has been created
        at  0975a056534a0ef3e9a1e56ec5ce69569389475f (commit)

- Log -----------------------------------------------------------------
commit 0975a056534a0ef3e9a1e56ec5ce69569389475f
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Mon Jan 27 15:54:19 2014 -0500

    Add catalog name to all asset modify and display pages

diff --git a/html/Asset/Create.html b/html/Asset/Create.html
index 308af0e..15f2fa9 100644
--- a/html/Asset/Create.html
+++ b/html/Asset/Create.html
@@ -56,6 +56,7 @@
 
 <& /Elements/ListActions, actions => \@results &>
 
+<span class="catalog <% CSSClass($AssetObj->CatalogObj->Name) %>">
 <form method="post" enctype="multipart/form-data" id="CreateAsset" action="Create.html">
   <input type="hidden" name="id" value="new">
   <input type="hidden" name="Catalog" value="<% $catalog->id %>">
@@ -89,6 +90,7 @@
 
   <& /Elements/Submit, Label => loc('Create asset') &>
 </form>
+</span>
 
 <%args>
 $id => ""
diff --git a/html/Asset/Display.html b/html/Asset/Display.html
index 63f8ec1..bab4f8a 100644
--- a/html/Asset/Display.html
+++ b/html/Asset/Display.html
@@ -52,6 +52,7 @@
 
 <& /Elements/ListActions &>
 
+<span class="catalog <% CSSClass($AssetObj->CatalogObj->Name) %>">
 <& Elements/ShowSummary, AssetObj => $asset &>
 
 % $m->callback(CallbackName => 'AfterShowSummary', ARGSRef => \%ARGS, Asset => $asset);
@@ -63,6 +64,7 @@
     &>
 
 % $m->callback(CallbackName => 'AfterShowHistory', ARGSRef => \%ARGS, Asset => $asset);
+</span>
 
 <%args>
 $id => undef
diff --git a/html/Asset/History.html b/html/Asset/History.html
index a393512..02dd751 100644
--- a/html/Asset/History.html
+++ b/html/Asset/History.html
@@ -48,11 +48,13 @@
 <& /Elements/Header, Title => loc("History of Asset #[_1]: [_2]", $asset->id, $asset->Name) &>
 <& /Elements/Tabs &>
 
+<span class="catalog <% CSSClass($AssetObj->CatalogObj->Name) %>">
 <& /Elements/ShowHistory,
     Object => $asset,
     ShowDisplayModes => 0,
     DisplayPath => 'History.html',
     &>
+</span>
 
 <%args>
 $id => undef
diff --git a/html/Asset/Modify.html b/html/Asset/Modify.html
index 9e9ccd6..366efb2 100644
--- a/html/Asset/Modify.html
+++ b/html/Asset/Modify.html
@@ -50,6 +50,7 @@
 
 <& /Elements/ListActions, actions => \@results &>
 
+<span class="catalog <% CSSClass($AssetObj->CatalogObj->Name) %>">
 <form method="post" enctype="multipart/form-data" id="ModifyAsset" action="Modify.html">
   <input type="hidden" name="id" value="<% $asset->id %>">
   <input type="hidden" name="DisplayAfter" value="<% $DisplayAfter ? 1 : 0 %>">
@@ -64,6 +65,7 @@
 
   <& /Elements/Submit, Label => loc('Save asset'), Name => "Update" &>
 </form>
+</span>
 
 <%args>
 $id             => undef
diff --git a/html/Asset/ModifyCFs.html b/html/Asset/ModifyCFs.html
index 0f1d930..4a1ff50 100755
--- a/html/Asset/ModifyCFs.html
+++ b/html/Asset/ModifyCFs.html
@@ -50,6 +50,7 @@
 
 <& /Elements/ListActions, actions => \@results &>
 
+<span class="catalog <% CSSClass($AssetObj->CatalogObj->Name) %>">
 <form method="post" enctype="multipart/form-data" id="ModifyAssetCFs" action="ModifyCFs.html">
   <input type="hidden" name="id" value="<% $asset->id %>">
   <input type="hidden" name="Grouping" value="<% $Grouping %>">
@@ -60,6 +61,7 @@
 
   <& /Elements/Submit, Label => loc('Save asset'), Name => "Update" &>
 </form>
+</span>
 
 <%args>
 $id         => undef
diff --git a/html/Asset/ModifyDates.html b/html/Asset/ModifyDates.html
index a5a3dd7..0c5bbfe 100755
--- a/html/Asset/ModifyDates.html
+++ b/html/Asset/ModifyDates.html
@@ -50,6 +50,7 @@
 
 <& /Elements/ListActions, actions => \@results &>
 
+<span class="catalog <% CSSClass($AssetObj->CatalogObj->Name) %>">
 <form method="post" enctype="multipart/form-data" id="ModifyAssetDates" action="ModifyDates.html">
   <input type="hidden" name="id" value="<% $asset->id %>">
 
@@ -59,6 +60,7 @@
 
   <& /Elements/Submit, Label => loc('Save asset'), Name => "Update" &>
 </form>
+</span>
 
 <%init>
 my $asset = LoadAsset($id);
diff --git a/html/Asset/ModifyLinks.html b/html/Asset/ModifyLinks.html
index 79f004d..1823d58 100755
--- a/html/Asset/ModifyLinks.html
+++ b/html/Asset/ModifyLinks.html
@@ -50,6 +50,7 @@
 
 <& /Elements/ListActions, actions => \@results &>
 
+<span class="catalog <% CSSClass($AssetObj->CatalogObj->Name) %>">
 <form method="post" enctype="multipart/form-data" id="ModifyAssetLinks" action="ModifyLinks.html">
   <input type="hidden" name="id" value="<% $asset->id %>">
 
@@ -59,6 +60,7 @@
 
   <& /Elements/Submit, Label => loc('Save asset'), Name => "Update" &>
 </form>
+</span>
 
 <%init>
 my $asset = LoadAsset($id);
diff --git a/html/Asset/ModifyPeople.html b/html/Asset/ModifyPeople.html
index d781353..99eb7de 100755
--- a/html/Asset/ModifyPeople.html
+++ b/html/Asset/ModifyPeople.html
@@ -52,6 +52,7 @@
 
 <& /Elements/ListActions, actions => \@results &>
 
+<span class="catalog <% CSSClass($AssetObj->CatalogObj->Name) %>">
 <form method="post" enctype="multipart/form-data" id="ModifyAssetPeople" action="ModifyPeople.html">
   <input type="hidden" name="id" value="<% $asset->id %>">
 
@@ -69,6 +70,7 @@
 
   <& /Elements/Submit, Label => loc('Save asset'), Name => "Update" &>
 </form>
+</span>
 
 <%init>
 my $asset = LoadAsset($id);

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



More information about the Bps-public-commit mailing list