Sha256: 266b6ec87b57add3b6f3515a1e22c6099dffdc683b4651d99d1b7b5ecef091bc

Contents?: true

Size: 672 Bytes

Versions: 9

Compression:

Stored size: 672 Bytes

Contents

<% if Dradis::Plugins::Calculators::CVSS::Engine.settings.show.to_i == 1 %>
<div class="tab-pane" id="cvss-tab">
  <div class="inner">
    <h4 class="header-underline">CVSS Risk Scoring -
      <span class="actions">
        <%= link_to cvss_calculator.cvss_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::CVSS::V3::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_cvss-4.9.0 app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb
dradis-calculator_cvss-4.8.0 app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb
dradis-calculator_cvss-4.7.0 app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb
dradis-calculator_cvss-4.6.0 app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb
dradis-calculator_cvss-4.5.0 app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb
dradis-calculator_cvss-4.4.0 app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb
dradis-calculator_cvss-4.3.0 app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb
dradis-calculator_cvss-4.2.0 app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb
dradis-calculator_cvss-4.1.0 app/views/dradis/plugins/calculators/cvss/issues/_show-content.html.erb