-
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
Changes from 2 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,10 @@ | |
padding-top: 10px; | ||
} | ||
|
||
.spacer-right-3 { | ||
margin-right: 3px; | ||
} | ||
|
||
.nowrap { | ||
white-space: nowrap; | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,22 +26,25 @@ | |
th # | ||
th.col-md-3 Name | ||
th.col-md-3 Administrators | ||
th.col-md-5 Description | ||
th.col-md-5 Tags / Description | ||
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: '' | ||
td.no-decorate | ||
- definition.admins.each do |user| | ||
= link_to user.name, user_path(user) | ||
br | ||
td= first_line(definition.description) | ||
td | ||
= link_to raw('<i class="fa fa-chevron-right"></i> View Details'), definition, class: 'btn btn-sm btn-default' | ||
- definition.tags.each do |tag| | ||
=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 commentThe reason will be displayed to describe this comment to others. Learn more. Can we use There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Fixed 37182b6. But there are many |
||
- else | ||
- if params[:q].present? | ||
.text-muted.well.well-sm.no-shadow No results found for the query. | ||
|
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