-
Notifications
You must be signed in to change notification settings - Fork 72
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
Add tags to job list #21
Conversation
seems ci has broken |
=link_to tag.name, job_definitions_path('tag': [tag.name]), class: 'label label-default spacer-right-3' | ||
= first_line(definition.description) | ||
td | ||
= link_to raw('<i class="fa fa-chevron-right"></i> <span class="small">View Details</span>'), definition, class: 'btn btn-sm btn-default' |
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.
Can we use = link_to definition, class: 'btn btn-sm btn-default' do ...
? Specifying raw
by hand is dangerous.
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.
Fixed 37182b6.
But there are many raw
functions in kuroko2 views 🤕
th.col-md-1 | ||
- for definition in definitions | ||
tr | ||
td | ||
span.star-holder | ||
= star_link_for(definition) | ||
td= definition.id | ||
td.no-decorate= link_to definition.name, definition | ||
td.no-decorate= link_to definition.name, definition, class: '' |
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.
Why is this change necessary?
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.
Oops 7f2d748
LGTM |
retry of #20 .
cc: @hogelog @cookpad/dev-infra