mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Merge pull request #2312 from nsoranzo/release_16.01_fix_makos
[16.01] Unicodify pretty datetimes which can contain non-ASCII chars
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<%inherit file="/base.mako"/>
|
||||
<%namespace file="/message.mako" import="render_msg" />
|
||||
<% from galaxy.util import nice_size %>
|
||||
<% from galaxy.util import nice_size, unicodify %>
|
||||
|
||||
<style>
|
||||
.inherit {
|
||||
@@ -117,7 +117,7 @@
|
||||
encoded_history_id = trans.security.encode_id( hda.history_id )
|
||||
%>
|
||||
<tr><td>Name:</td><td>${hda.name | h}</td></tr>
|
||||
<tr><td>Created:</td><td>${hda.create_time.strftime(trans.app.config.pretty_datetime_format)}</td></tr>
|
||||
<tr><td>Created:</td><td>${unicodify(hda.create_time.strftime(trans.app.config.pretty_datetime_format))}</td></tr>
|
||||
## <tr><td>Copied from another history?</td><td>${hda.source_library_dataset}</td></tr>
|
||||
<tr><td>Filesize:</td><td>${nice_size(hda.dataset.file_size)}</td></tr>
|
||||
<tr><td>Dbkey:</td><td>${hda.dbkey | h}</td></tr>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<%inherit file="/base.mako"/>
|
||||
<%namespace file="/message.mako" import="render_msg" />
|
||||
<% from galaxy.util import nice_size %>
|
||||
<% from galaxy.util import nice_size, unicodify %>
|
||||
|
||||
<%def name="title()">Data Manager: ${ data_manager.name | h } - ${ data_manager.description | h }</%def>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr><td>Name:</td><td>${hda.name | h}</td></tr>
|
||||
<tr><td>Created:</td><td>${hda.create_time.strftime(trans.app.config.pretty_datetime_format) | h}</td></tr>
|
||||
<tr><td>Created:</td><td>${unicodify(hda.create_time.strftime(trans.app.config.pretty_datetime_format)) | h}</td></tr>
|
||||
<tr><td>Filesize:</td><td>${nice_size(hda.dataset.file_size) | h}</td></tr>
|
||||
<tr><td>Tool Exit Code:</td><td>${job.exit_code | h}</td></tr>
|
||||
<tr><td>Full Path:</td><td>${hda.file_name | h}</td></tr>
|
||||
|
||||
Reference in New Issue
Block a user