|
19 | 19 | </div>
|
20 | 20 | <div style="float:left;" class="menubutton split popup" id="dataset-${dataset_id}-popup">
|
21 | 21 | %endif
|
22 |
| - <a href="${h.url_for( controller='dataset', action='display', dataset_id=dataset_id, to_ext=data.ext )}" title="Download" class="icon-button disk tooltip"></a> |
| 22 | + <a href="${h.url_for( controller='dataset', action='display', dataset_id=dataset_id, to_ext=data.ext )}" title='${_("Download")}' class="icon-button disk tooltip"></a> |
23 | 23 | %if meta_files:
|
24 | 24 | </div>
|
25 | 25 | %endif
|
|
75 | 75 | ## TODO: Make these CSS, just adding a "disabled" class to the normal
|
76 | 76 | ## links should be enough. However the number of datasets being uploaded
|
77 | 77 | ## at a time is usually small so the impact of these images is also small.
|
78 |
| - <span title='Display Data' class='icon-button display_disabled tooltip'></span> |
| 78 | + <span title='${_("Display Data")}' class='icon-button display_disabled tooltip'></span> |
79 | 79 | %if for_editing:
|
80 | 80 | <span title='Edit Attributes' class='icon-button edit_disabled tooltip'></span>
|
81 | 81 | %endif
|
|
98 | 98 | %if data.purged:
|
99 | 99 | <span class="icon-button display_disabled tooltip" title="Cannot display datasets removed from disk"></span>
|
100 | 100 | %else:
|
101 |
| - <a class="icon-button display tooltip" title="Display data in browser" href="${display_url}" |
| 101 | + <a class="icon-button display tooltip" title='${_("Display data in browser")}' href="${display_url}" |
102 | 102 | %if for_editing:
|
103 | 103 | target="galaxy_main"
|
104 | 104 | %endif
|
|
110 | 110 | %elif data.purged:
|
111 | 111 | <span title="Cannot edit attributes of datasets removed from disk" class="icon-button edit_disabled tooltip"></span>
|
112 | 112 | %else:
|
113 |
| - <a class="icon-button edit tooltip" title="Edit attributes" href="${h.url_for( controller='dataset', action='edit', dataset_id=dataset_id )}" target="galaxy_main"></a> |
| 113 | + <a class="icon-button edit tooltip" title='${_("Edit attributes")}' href="${h.url_for( controller='dataset', action='edit', dataset_id=dataset_id )}" target="galaxy_main"></a> |
114 | 114 | %endif
|
115 | 115 | %endif
|
116 | 116 | %endif
|
117 | 117 | %if for_editing:
|
118 | 118 | %if can_edit:
|
119 |
| - <a class="icon-button delete tooltip" title="Delete" href="${h.url_for( controller='dataset', action='delete', dataset_id=dataset_id, show_deleted_on_refresh=show_deleted_on_refresh )}" id="historyItemDeleter-${dataset_id}"></a> |
| 119 | + <a class="icon-button delete tooltip" title='${_("Delete")}' href="${h.url_for( controller='dataset', action='delete', dataset_id=dataset_id, show_deleted_on_refresh=show_deleted_on_refresh )}" id="historyItemDeleter-${dataset_id}"></a> |
120 | 120 | %else:
|
121 | 121 | <span title="Dataset is already deleted" class="icon-button delete_disabled tooltip"></span>
|
122 | 122 | %endif
|
|
136 | 136 | %elif data_state == "queued":
|
137 | 137 | <div>${_('Job is waiting to run')}</div>
|
138 | 138 | <div>
|
139 |
| - <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title="View Details" class="icon-button information tooltip"></a> |
| 139 | + <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title='${_("View Details")}' class="icon-button information tooltip"></a> |
140 | 140 | %if for_editing:
|
141 |
| - <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title="Run this job again" class="icon-button arrow-circle tooltip"></a> |
| 141 | + <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title='${_("Run this job again")}' class="icon-button arrow-circle tooltip"></a> |
142 | 142 | %endif
|
143 | 143 | </div>
|
144 | 144 | %elif data_state == "running":
|
145 | 145 | <div>${_('Job is currently running')}</div>
|
146 | 146 | <div>
|
147 |
| - <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title="View Details" class="icon-button information tooltip"></a> |
| 147 | + <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title='${_("View Details")}' class="icon-button information tooltip"></a> |
148 | 148 | %if for_editing:
|
149 |
| - <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title="Run this job again" class="icon-button arrow-circle tooltip"></a> |
| 149 | + <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title='${_("Run this job again")}' class="icon-button arrow-circle tooltip"></a> |
150 | 150 | %endif
|
151 | 151 | </div>
|
152 | 152 | %elif data_state == "error":
|
|
163 | 163 | %if data.has_data():
|
164 | 164 | ${render_download_links( data, dataset_id )}
|
165 | 165 | %endif
|
166 |
| - <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title="View Details" class="icon-button information tooltip"></a> |
| 166 | + <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title='${_("View Details")}' class="icon-button information tooltip"></a> |
167 | 167 | %if for_editing:
|
168 |
| - <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title="Run this job again" class="icon-button arrow-circle tooltip"></a> |
| 168 | + <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title='${_("Run this job again")}' class="icon-button arrow-circle tooltip"></a> |
169 | 169 | %endif
|
170 | 170 | </div>
|
171 | 171 | %elif data_state == "discarded":
|
|
177 | 177 | %elif data_state == "empty":
|
178 | 178 | <div>${_('No data: ')}<i>${data.display_info()}</i></div>
|
179 | 179 | <div>
|
180 |
| - <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title="View Details" class="icon-button information tooltip"></a> |
| 180 | + <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title='${_("View Details")}' class="icon-button information tooltip"></a> |
181 | 181 | %if for_editing:
|
182 |
| - <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title="Run this job again" class="icon-button arrow-circle tooltip"></a> |
| 182 | + <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title='${_("Run this job again")}' class="icon-button arrow-circle tooltip"></a> |
183 | 183 | %endif
|
184 | 184 | </div>
|
185 | 185 | %elif data_state in [ "ok", "failed_metadata" ]:
|
|
193 | 193 | %endif
|
194 | 194 | <div>
|
195 | 195 | ${data.blurb}<br />
|
196 |
| - format: <span class="${data.ext}">${data.ext}</span>, |
197 |
| - database: |
| 196 | + ${_("format: ")} <span class="${data.ext}">${data.ext}</span>, |
| 197 | + ${_("database: ")} |
198 | 198 | %if data.dbkey == '?' and can_edit:
|
199 | 199 | <a href="${h.url_for( controller='dataset', action='edit', dataset_id=dataset_id )}" target="galaxy_main">${_(data.dbkey)}</a>
|
200 | 200 | %else:
|
|
208 | 208 | %if data.has_data():
|
209 | 209 | ${render_download_links( data, dataset_id )}
|
210 | 210 |
|
211 |
| - <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title="View Details" class="icon-button information tooltip"></a> |
| 211 | + <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title='${_("View Details")}' class="icon-button information tooltip"></a> |
212 | 212 |
|
213 | 213 | %if for_editing:
|
214 |
| - <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title="Run this job again" class="icon-button arrow-circle tooltip"></a> |
| 214 | + <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title='${_("Run this job again")}' class="icon-button arrow-circle tooltip"></a> |
215 | 215 | %if app.config.get_bool( 'enable_tracks', False ) and data.ext in app.datatypes_registry.get_available_tracks():
|
216 | 216 | <%
|
217 | 217 | if data.dbkey != '?':
|
|
266 | 266 | <br />
|
267 | 267 | %endfor
|
268 | 268 | %elif for_editing:
|
269 |
| - <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title="View Details" class="icon-button information tooltip"></a> |
270 |
| - <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title="Run this job again" class="icon-button arrow-circle tooltip"></a> |
| 269 | + <a href="${h.url_for( controller='dataset', action='show_params', dataset_id=dataset_id )}" target="galaxy_main" title='${_("View Details")}' class="icon-button information tooltip"></a> |
| 270 | + <a href="${h.url_for( controller='tool_runner', action='rerun', id=data.id )}" target="galaxy_main" title='${_("Run this job again")}' class="icon-button arrow-circle tooltip"></a> |
271 | 271 | %endif
|
272 | 272 |
|
273 | 273 | </div>
|
|
0 commit comments