Skip to content

Commit

Permalink
Only show module as unauthorized if it is indexed
Browse files Browse the repository at this point in the history
"permissions on no_indexed stuff are irrelevant"

closes gh-1251.
  • Loading branch information
rwstauner committed Jul 18, 2014
1 parent 03a0e1f commit c436d35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/release.html
Expand Up @@ -84,7 +84,7 @@
<% FOREACH module IN modules %>
<div>
<strong><% link_to_file(module) | none %></strong><% IF module.abstract %> - <% module.abstract; END %>
<% IF NOT module.authorized %><em class="unauthorized">UNAUTHORIZED</em><% END %>
<% IF module.indexed AND NOT module.authorized %><em class="unauthorized">UNAUTHORIZED</em><% END %>
</div>
<% END %>
</div>
Expand All @@ -96,7 +96,7 @@
<% FOREACH module IN provides.sort('package') %>
<div>
<strong><% link_to_source(module) | none %></strong> in <% module.path %>
<% IF NOT module.authorized %><em class="unauthorized">UNAUTHORIZED</em><% END %>
<% IF module.indexed AND NOT module.authorized %><em class="unauthorized">UNAUTHORIZED</em><% END %>
</div>
<% END %>
</div>
Expand Down

0 comments on commit c436d35

Please sign in to comment.