Sha256: 91d3d412dad78dee350b2dd95e875712c01d428711a6ece06733d18ad19cd394

Contents?: true

Size: 678 Bytes

Versions: 9

Compression:

Stored size: 678 Bytes

Contents

<% if Dradis::Plugins::Calculators::DREAD::Engine.settings.show.to_i == 1 %>
<div class="tab-pane" id="dread-tab">
  <div class="inner">
    <h4 class="header-underline">DREAD Risk Scoring -
      <span class="actions">
        <%= link_to dread_calculator.dread_project_issue_path(current_project, @issue) do %>
          <i class="fa fa-pencil"></i> Edit
        <% end %>
    </h4>

    <div class="mb-4 content-textile">
      <%=
        markup(
          @issue.fields
            .select { |k,v| Dradis::Plugins::Calculators::DREAD::V1::FIELDS.include?(k) }
            .map { |k,v| "#[#{k}]#\n#{v}" }.join("\n\n")
        )
      %>
    </div>
  </div>
</div>
<% end %>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
dradis-calculator_dread-4.9.0 app/views/dradis/plugins/calculators/dread/issues/_show-content.html.erb
dradis-calculator_dread-4.8.0 app/views/dradis/plugins/calculators/dread/issues/_show-content.html.erb
dradis-calculator_dread-4.7.0 app/views/dradis/plugins/calculators/dread/issues/_show-content.html.erb
dradis-calculator_dread-4.6.0 app/views/dradis/plugins/calculators/dread/issues/_show-content.html.erb
dradis-calculator_dread-4.5.0 app/views/dradis/plugins/calculators/dread/issues/_show-content.html.erb
dradis-calculator_dread-4.4.0 app/views/dradis/plugins/calculators/dread/issues/_show-content.html.erb
dradis-calculator_dread-4.3.0 app/views/dradis/plugins/calculators/dread/issues/_show-content.html.erb
dradis-calculator_dread-4.2.0 app/views/dradis/plugins/calculators/dread/issues/_show-content.html.erb
dradis-calculator_dread-4.1.0 app/views/dradis/plugins/calculators/dread/issues/_show-content.html.erb