-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Link to latest in scenario name #836
Link to latest in scenario name #836
Conversation
Based on 'latest' query route each job can now link to the newest incarnation within in the same scenario.
13199c2
to
3a2842b
Compare
@@ -1,5 +1,5 @@ | |||
<div id="scenario"> | |||
<div class="h5">Results for <i><%= $scenario %></i></div> | |||
<div class="h5">Results for <i><%= link_to($scenario => url_for ('latest')->query($job->scenario_hash)) %></i></div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tried it and it's confusing for me. I would prefer something like:
<div class="h5">Results for <i><%= $scenario %></i> (<%= link_to('latest results for this scenario' => url_for('latest')->query($job->scenario_hash)) %>)</div>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On Friday 26 August 2016 07:26:07 Ondřej Holeček wrote:
@@ -1,5 +1,5 @@
-Results for <%= $scenario %>-Results for <%= link_to($scenario => url_for ('latest')->query($job->scenario_hash)) %>Tried it and it's confusing for me. I would prefer something like:<div class="h5">Results for <i><%= $scenario %></i> (<%= link_to('latest results for this scenario' => url_for('latest')->query($job->scenario_hash)) %>)</div> ```
sure, I wouldn't mind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
latest results implies it's multiple results, but it's just one -> 'latest job' then
other than the wording I'm fine with the change |
cceb92f
to
e54f550
Compare
@aaannz the trim_whitespace failed me in https://travis-ci.org/os-autoinst/openQA/builds/156827974 |
e54f550
to
70c5c83
Compare
I don't know, |
btw. LGTM :) |
@coolo was fine with the change, name is fixed, want to merge?
|
Screenshot: