Skip to content
Snippets Groups Projects
Commit 8eb44809 authored by srosse's avatar srosse
Browse files

OO-348: add CSS classes for the catalog entry chooser

parent f97aaf2f
No related branches found
No related tags found
No related merge requests found
<div class="o_sel_catalog_chooser_tree">
<h4>$r.translate("catalog.tree.add.title", ["$entryname"])</h4> <h4>$r.translate("catalog.tree.add.title", ["$entryname"])</h4>
<p> <p>
$r.translate("catalog.tree.add.intro", ["<br/><strong>$entryname</strong><br/>"]) $r.translate("catalog.tree.add.intro", ["<br/><strong>$entryname</strong><br/>"])
...@@ -6,4 +7,5 @@ $r.render("treeCtr") ...@@ -6,4 +7,5 @@ $r.render("treeCtr")
<div class="b_button_group"> <div class="b_button_group">
$r.render("select") $r.render("select")
$r.render("cancel") $r.render("cancel")
</div>
</div> </div>
\ No newline at end of file
...@@ -162,6 +162,7 @@ class PublishStepCatalog extends BasicStep { ...@@ -162,6 +162,7 @@ class PublishStepCatalog extends BasicStep {
flc.contextPut("choice", value); flc.contextPut("choice", value);
boolean activate = "yes".equals(value); boolean activate = "yes".equals(value);
addToCatalog = uifactory.addFormLink("publish.catalog.add", flc, Link.BUTTON_SMALL); addToCatalog = uifactory.addFormLink("publish.catalog.add", flc, Link.BUTTON_SMALL);
addToCatalog.setElementCssClass("o_sel_publish_add_to_catalog");
addToCatalog.setVisible(activate); addToCatalog.setVisible(activate);
if(activate) { if(activate) {
List<CatalogEntry> catalogEntries = catalogManager.getCatalogCategoriesFor(repositoryEntry); List<CatalogEntry> catalogEntries = catalogManager.getCatalogCategoriesFor(repositoryEntry);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment