Skip to content

Commit

Permalink
SAK-33303: Site Info > Tool Order > hide 'URL' label when not needed (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
bjones86 authored Sep 1, 2017
1 parent 83df149 commit d4afca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ public void fillComponents(UIContainer tofill, ViewParameters viewparams,
//for all tools that want special configuration and/or allow multiple instances
//per site
if ("sakai.iframe".equals(tool.getToolId())) {
UIMessage.make(pagerow, "page-config-label", "url");
UIInput.make(pagerow, "page-config-input", "#{SitePageEditHandler.nil}",
tool.getPlacementConfig().getProperty("source"));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ <h3 rsf:id="msg=page_title">page_title</h3>
<input rsf:id="page-name-input" class="new_title" id="page-name-input"></input>
</div>
<div>
<label rsf:id="msg=url" for="page-config-input">URL</label>
<label rsf:id="page-config-label" for="page-config-input">URL</label>
<input rsf:id="page-config-input" id="page-config-input" class="new_config" ></input>
<a href="#" onclick="doBrowseLocalContent(this)" rsf:id="browse-link">Browse</a>
</div>
Expand Down

0 comments on commit d4afca0

Please sign in to comment.