Link to latest in scenario name#836
Merged
aaannz merged 3 commits intoos-autoinst:masterfrom Sep 2, 2016
Merged
Conversation
Based on 'latest' query route each job can now link to the newest incarnation within in the same scenario.
13199c2 to
3a2842b
Compare
templates/test/previous.html.ep
Outdated
| @@ -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> | |||
Contributor
There was a problem hiding this comment.
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>
Member
Author
There was a problem hiding this comment.
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
Contributor
There was a problem hiding this comment.
latest results implies it's multiple results, but it's just one -> 'latest job' then
Member
Author
Contributor
|
other than the wording I'm fine with the change |
cceb92f to
e54f550
Compare
Member
Author
|
@aaannz the trim_whitespace failed me in https://travis-ci.org/os-autoinst/openQA/builds/156827974 |
e54f550 to
70c5c83
Compare
Member
Author
Contributor
|
I don't know, |
Contributor
|
btw. LGTM :) |
Member
Author
|
@coolo was fine with the change, name is fixed, want to merge?
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Screenshot:
