Skip to content
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

Merged
merged 5 commits into from
Nov 17, 2016
Merged

Add tags to job list #21

merged 5 commits into from
Nov 17, 2016

Conversation

eisuke
Copy link
Member

@eisuke eisuke commented Nov 16, 2016

retry of #20 .
cc: @hogelog @cookpad/dev-infra

@adorechic
Copy link

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'
Copy link
Contributor

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.

Copy link
Member Author

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 &nbsp;
- 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: ''
Copy link
Contributor

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?

Copy link
Member Author

@eisuke eisuke Nov 16, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops 7f2d748

@k0kubun
Copy link
Contributor

k0kubun commented Nov 16, 2016

LGTM

@eisuke eisuke merged commit 54dfcba into cookpad:master Nov 17, 2016
@eisuke eisuke deleted the add_tags branch November 17, 2016 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants