rosa-build/app/views/search/_project.html.slim

8 lines
276 B
Plaintext

.row
.pull-left
a href=project_build_lists_path(project)
= project.name_with_owner
- if BuildListPolicy.new(current_user, project.build_lists.build).new?
.pull-right
a href=new_project_build_list_path(project)
= t 'dashboard.projects.new_build'