Sha256: d86577b78919c45fcde0bf904e349e102687d998eddca18f21f811c3499e4ccb

Contents?: true

Size: 1.2 KB

Versions: 31

Compression:

Stored size: 1.2 KB

Contents

<%- @tables.each do |table| -%>
  <%- if table[:content].any? || table[:resolved].any? -%>
<table>
  <thead>
    <tr>
      <th width="5%"></th>
      <th width="95%" data-danger-table="true" data-kind="<%= table[:name] %>">
        <%- if table[:count] > 0 -%>
          <%= table[:count] %> <%= table[:name] %><%= "s" unless table[:count] == 1 %>
        <%- else -%>
          :white_check_mark: <%= random_compliment %>
        <%- end -%>
      </th>
     </tr>
  </thead>
  <tbody>
    <%- table[:content].each do |violation| -%>
    <tr>
      <td>:<%= table[:emoji] %>:</td>
      <td data-sticky="<%= violation.sticky %>"><%= violation.message %></td>
    </tr>
    <%- end -%>
    <%- table[:resolved].each do |message| -%>
      <tr>
        <td>:white_check_mark:</td>
        <td data-sticky="true"><del><%= message %></del></td>
      </tr>
    <%- end -%>
  </tbody>
</table>
  <%- end -%>
<%- end -%>

<%- @markdowns.each do |current| -%>
<%= current %>
<%# the previous line has to be aligned far to the left, otherwise markdown can break easily %>
<%- end -%>
<p align="right" data-meta="generated_by_<%= @danger_id %>">
  Generated by :no_entry_sign: <a href="https://github.com/danger/danger/">danger</a>
</p>

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
danger-4.2.0 lib/danger/comment_generators/gitlab.md.erb
danger-4.1.1 lib/danger/comment_generators/gitlab.md.erb
danger-4.1.0 lib/danger/comment_generators/gitlab.md.erb
danger-4.0.5 lib/danger/comment_generators/gitlab.md.erb
danger-4.0.4 lib/danger/comment_generators/gitlab.md.erb
danger-4.0.3 lib/danger/comment_generators/gitlab.md.erb
danger-4.0.2 lib/danger/comment_generators/gitlab.md.erb
danger-4.0.1 lib/danger/comment_generators/gitlab.md.erb
danger-4.0.0 lib/danger/comment_generators/gitlab.md.erb
danger-3.6.0 lib/danger/comment_generators/gitlab.md.erb
danger-3.5.5 lib/danger/comment_generators/gitlab.md.erb
danger-3.5.4 lib/danger/comment_generators/gitlab.md.erb
danger-3.5.3 lib/danger/comment_generators/gitlab.md.erb
danger-3.5.2 lib/danger/comment_generators/gitlab.md.erb
danger-3.5.1 lib/danger/comment_generators/gitlab.md.erb
danger-3.5.0 lib/danger/comment_generators/gitlab.md.erb
danger-3.4.2 lib/danger/comment_generators/gitlab.md.erb
danger-3.4.1 lib/danger/comment_generators/gitlab.md.erb
danger-3.4.0 lib/danger/comment_generators/gitlab.md.erb
danger-3.3.2 lib/danger/comment_generators/gitlab.md.erb