mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
show new repo properties only if values are present
This commit is contained in:
@@ -190,16 +190,20 @@ ${render_tool_shed_repository_actions( repository, metadata=metadata, changeset_
|
||||
%endif
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
%if repository.homepage_url:
|
||||
<div class="form-row">
|
||||
<b>Content homepage:</b>
|
||||
<input name="homepage_url" type="textfield" value="${homepage_url | h}" size="80"/>
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
%endif
|
||||
%if repository.remote_repository_url:
|
||||
<div class="form-row">
|
||||
<b>Development repository:</b>
|
||||
<input name="remote_repository_url" type="textfield" value="${remote_repository_url | h}" size="80"/>
|
||||
<div style="clear: both"></div>
|
||||
</div>
|
||||
%endif
|
||||
<div class="form-row">
|
||||
<b>${sharable_link_label}</b>
|
||||
<a href="${ repository.share_url }" target="_blank">${ repository.share_url }</a>
|
||||
|
||||
@@ -123,14 +123,18 @@
|
||||
## ${render_long_description( to_html_string( repository.long_description ) )}
|
||||
</div>
|
||||
%endif
|
||||
%if repository.homepage_url:
|
||||
<div class="form-row">
|
||||
<b>Content homepage:</b>
|
||||
<a href="${repository.homepage_url | h}" target="_blank">${repository.homepage_url | h}</a>
|
||||
</div>
|
||||
%endif
|
||||
%if repository.remote_repository_url:
|
||||
<div class="form-row">
|
||||
<b>Development repository:</b>
|
||||
<a href="${repository.remote_repository_url | h}" target="_blank">${repository.remote_repository_url | h}</a>
|
||||
</div>
|
||||
%endif
|
||||
<div class="form-row">
|
||||
<b>${sharable_link_label}</b>
|
||||
<a href="${ repository.share_url }" target="_blank">${ repository.share_url }</a>
|
||||
|
||||
Reference in New Issue
Block a user