|
30 | 30 | <span class="b db-l mr1">Workflow</span> |
31 | 31 | <%= link get_header_navigation_element(@breadcrumbs, :workflow, :name), |
32 | 32 | to: get_header_navigation_element(@breadcrumbs, :workflow, :url) %> (<%= link "#{commit_sha(@hook)} ↗", to: commit_url(@hook), target: "_blank" %>) |
33 | | - <span data-tippy-content=" |
34 | | - Pipeline: <%= @pipeline.name %> |
35 | | - <%= if @block != nil do %> |
36 | | - / Block: <%= @block.name %> |
37 | | - <% end %> |
38 | | - <%= "· by #{@hook.repo_host_username}, #{Front.Utils.decorate_relative(@workflow.created_at)}" %> |
39 | | - "> |
40 | | - <img src="<%= assets_path() %>/images/icn-info-15.svg" width="16px" height="16px" alt="commit" class="v-mid"> |
41 | | - </span> |
42 | 33 | </div> |
43 | 34 | <div class="b dn db-l"> |
44 | 35 | › |
45 | 36 | </div> |
| 37 | + <div class="ph3"> |
| 38 | + <span class="b db-l mr1">Pipeline</span> |
| 39 | + <%= link @pipeline.name, to: workflow_path(@conn, :show, @workflow.id, pipeline_id: @pipeline.id) %> |
| 40 | + </div> |
| 41 | + <%= if @block do %> |
| 42 | + <div class="b dn db-l"> |
| 43 | + › |
| 44 | + </div> |
| 45 | + <div class="ph3"> |
| 46 | + <span class="b db-l mr1">Block</span> |
| 47 | + <%= @block.name %> |
| 48 | + </div> |
| 49 | + <% end %> |
46 | 50 | </div> |
47 | 51 | </div> |
48 | | - <div class="flex items-center justify-between mt1 mt2-m mb2 mb3-m"> |
49 | | - <div class="flex justify-center items-center"> |
50 | | - <h1 class="f2 f1-m lh-title mt1 mb0 pr3 truncate"> |
| 52 | + <div class="flex items-center justify-between mt1 mt2-m mb1"> |
| 53 | + <div class="flex items-center mr2" style="min-width: 0; flex: 1;"> |
| 54 | + <h1 class="f2 f1-m lh-title mt1 mb0 pr3 truncate" title="<%= @job.name %>" style="min-width: 0;"> |
51 | 55 | <%= @job.name %> |
52 | 56 | </h1> |
53 | 57 | <%= render FrontWeb.JobView, "_status_badge.html", job: @job, badge_pollman: @badge_pollman %> |
|
67 | 71 | </div> |
68 | 72 | </div> |
69 | 73 | </div> |
| 74 | + |
| 75 | + <div class="f6 gray mb1"> |
| 76 | + by <%= @hook.repo_host_username %>, <%= Front.Utils.decorate_relative(@workflow.created_at) %> |
| 77 | + </div> |
| 78 | + |
70 | 79 | <div class="tabs"> |
71 | 80 | <%= link raw(~s' |
72 | 81 | <svg width="16" height="16" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M2.025 2.025A3.5 3.5 0 001 4.5v7A3.5 3.5 0 004.5 15h7a3.5 3.5 0 003.5-3.5v-7A3.5 3.5 0 0011.5 1h-7a3.5 3.5 0 00-2.475 1.025zm.99.99A2.1 2.1 0 014.5 2.4h7a2.1 2.1 0 012.1 2.1v7a2.1 2.1 0 01-2.1 2.1h-7a2.1 2.1 0 01-2.1-2.1v-7a2.1 2.1 0 01.615-1.485zM4.7 4a.7.7 0 100 1.4h3.194a.7.7 0 100-1.4H4.7zM4 8a.7.7 0 01.7-.7h4.975a.7.7 0 110 1.4H4.7A.7.7 0 014 8zm4.731 2.594a.7.7 0 100 1.4h2.788a.7.7 0 000-1.4H8.73zm-4.731.7a.7.7 0 01.7-.7h1.787a.7.7 0 110 1.4H4.7a.7.7 0 01-.7-.7zM10.512 4a.7.7 0 100 1.4h1.007a.7.7 0 000-1.4h-1.007z"/></svg> |
|
0 commit comments