Skip to content

Commit

Permalink
Merge pull request #2165 from MushroomObserver/jdc-license-default
Browse files Browse the repository at this point in the history
Remove display of License default
  • Loading branch information
JoeCohen committed Jun 7, 2024
2 parents 54de99a + de14b6f commit 255e5c3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions app/helpers/licenses_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ def license_updated_at(license)

def license_table_header
[
"Default?",
"#{:ID.l}:",
:license_display_name.l,
:license_url.l,
Expand All @@ -23,7 +22,6 @@ def license_table_header
def license_table_rows
License.all.each_with_object([]) do |license, rows|
rows << [
license.preferred? ? "X" : "",
license.id.to_s,
link_to_object(license, license.display_name),
link_to(license.url, license.url),
Expand Down
3 changes: 0 additions & 3 deletions app/views/controllers/licenses/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
%>

<div>
<% if @license.preferred? %>
<p><b><%= :license_default.t %></b></p>
<% end %>
<p><%= :ID.t %>: <b><%= @license.id %></b></p>
<p><%= :license_display_name.t %>: <b><%= @license.display_name %></b></p>
<p>
Expand Down

0 comments on commit 255e5c3

Please sign in to comment.