Make published items set the "Shared Data" tab as the active tab

This commit is contained in:
Kanwei Li
2010-10-07 15:33:54 -04:00
parent 7736a34123
commit e3979f52f5
10 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
self.has_left_panel=False
self.has_right_panel=True
self.message_box_visible=False
self.active_view=""
self.active_view="shared"
self.overlay_visible=False
%>
</%def>
+1 -1
View File
@@ -812,7 +812,7 @@
<% num_rows_rendered = 0 %>
%if query.count() == 0:
## No results.
<tr><td></td><td><em>No Items</em></td></tr>
<tr><td colspan="100"><em>No Items</em></td></tr>
<% num_rows_rendered = 1 %>
%endif
%for i, item in enumerate( query ):
+1 -1
View File
@@ -4,7 +4,7 @@
<%
self.has_left_panel=False
self.has_right_panel=False
self.active_view="page"
self.active_view="shared"
self.message_box_visible=False
%>
</%def>
+1 -1
View File
@@ -4,7 +4,7 @@
<%
self.has_left_panel=False
self.has_right_panel=False
self.active_view="libraries"
self.active_view="shared"
%>
</%def>
+1 -1
View File
@@ -4,7 +4,7 @@
<%
self.has_left_panel=False
self.has_right_panel=False
self.active_view="page"
self.active_view="shared"
self.message_box_visible=False
%>
</%def>
+1 -1
View File
@@ -4,7 +4,7 @@
<%
self.has_left_panel=False
self.has_right_panel=False
self.active_view="page"
self.active_view="shared"
self.message_box_visible=False
%>
</%def>
+4 -4
View File
@@ -15,7 +15,7 @@
%>
<%inherit file="${inherit(context)}"/>
<%namespace file="./display_common.mako" import="*" />
<%namespace file="/display_common.mako" import="*" />
<%namespace file="/message.mako" import="render_msg" />
##
@@ -157,7 +157,7 @@
if item.published:
item_status = item_status + " and published"
%>
This ${item_class_name_lc} <strong>${item_status}</strong>.
This ${item_class_name_lc} is currently <strong>${item_status}</strong>.
<div>
<p>Anyone can view and import this ${item_class_name_lc} by visiting the following URL:
@@ -195,10 +195,10 @@
%else: ## item.published == True
## Item is importable and published. User can unpublish or disable import and unpublish.
<input class="action-button" type="submit" name="unpublish" value="Unpublish ${item_class_name}">
<div class="toolParamHelp">Removes ${item_class_name_lc} from Galaxy's <a href='${h.url_for( action='list_published' )}' target="_top">Published ${item_class_plural_name}</a> section so that it is not publicly listed or searchable.</div>
<div class="toolParamHelp">Removes this ${item_class_name_lc} from Galaxy's <a href='${h.url_for( action='list_published' )}' target="_top">Published ${item_class_plural_name}</a> section so that it is not publicly listed or searchable.</div>
<br>
<input class="action-button" type="submit" name="disable_link_access_and_unpublish" value="Disable Access to ${item_class_name} via Link and Unpublish">
<div class="toolParamHelp">Disables ${item_class_name_lc}'s link so that it is not accessible and removes ${item_class_name_lc} from Galaxy's <a href='${h.url_for( action='list_published' )}' target='_top'>Published ${item_class_plural_name}</a> section so that it is not publicly listed or searchable.</div>
<div class="toolParamHelp">Disables this ${item_class_name_lc}'s link so that it is not accessible and removes ${item_class_name_lc} from Galaxy's <a href='${h.url_for( action='list_published' )}' target='_top'>Published ${item_class_plural_name}</a> section so that it is not publicly listed or searchable.</div>
%endif
</form>
+1 -1
View File
@@ -4,7 +4,7 @@
<%
self.has_left_panel=False
self.has_right_panel=False
self.active_view="page"
self.active_view="shared"
self.message_box_visible=False
%>
</%def>
+1 -1
View File
@@ -74,7 +74,7 @@
[ 'Published Visualizations', h.url_for( controller='/visualization', action='list_published' ) ],
[ 'Published Pages', h.url_for( controller='/page', action='list_published' ) ]
]
tab( "libraries", "Shared Data", h.url_for( controller='/library', action='index'), menu_options=menu_options )
tab( "shared", "Shared Data", h.url_for( controller='/library', action='index'), menu_options=menu_options )
%>
## Lab menu.
+1 -1
View File
@@ -4,7 +4,7 @@
<%
self.has_left_panel=False
self.has_right_panel=False
self.active_view=""
self.active_view="shared"
self.message_box_visible=False
%>
</%def>