[ARVADOS] created: cadfe1f276cc3da6b6682bc23ef2f3585e962cb6

Git user git at public.curoverse.com
Wed Aug 24 14:29:18 EDT 2016


        at  cadfe1f276cc3da6b6682bc23ef2f3585e962cb6 (commit)


commit cadfe1f276cc3da6b6682bc23ef2f3585e962cb6
Author: Tom Clegg <tom at curoverse.com>
Date:   Wed Aug 24 14:29:06 2016 -0400

    8113: Change the "view log" link text from "Download" to "View".

diff --git a/apps/workbench/app/views/jobs/_show_log.html.erb b/apps/workbench/app/views/jobs/_show_log.html.erb
index 02ad2b7..e016ac5 100644
--- a/apps/workbench/app/views/jobs/_show_log.html.erb
+++ b/apps/workbench/app/views/jobs/_show_log.html.erb
@@ -66,7 +66,7 @@ var makeFilter = function() {
     var log_size = <%= logcollection.files[0][2] %>
     var log_maxbytes = <%= Rails.configuration.log_viewer_max_bytes %>;
     var logcollection_url = '<%=j url_for logcollection %>/<%=j logcollection.files[0][1] %>';
-    $("#log-viewer-download-url").attr('href', logcollection_url);
+    $(".log-viewer-view-full").attr('href', logcollection_url);
     $("#log-viewer-download-pane").show();
     var headers = {};
     if (log_size > log_maxbytes) {
@@ -175,7 +175,7 @@ $("#set-show-failed-only").on("click", function() {
   </p>
 
   <p id="log-viewer-download-pane" style="display:none">
-    <a id="log-viewer-download-url" href="">Download the full log</a>
+    <a class="log-viewer-view-full" href="">View the full log</a>
   </p>
 
   <div class="h3">Log

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list