diff options
author | Matthew Landauer <matthew@openaustralia.org> | 2012-10-22 17:28:03 +1100 |
---|---|---|
committer | Matthew Landauer <matthew@openaustralia.org> | 2012-10-22 18:54:12 +1100 |
commit | ea9bf6994f73aa2a8e98c246303c5cdebe666917 (patch) | |
tree | d353aa43c157754aca47f155e4e975467a947416 /app | |
parent | b703f2aaa338e3837561676e4ba90f6c99745c54 (diff) |
Show disclosure log link if available
Diffstat (limited to 'app')
-rw-r--r-- | app/views/public_body/show.rhtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/public_body/show.rhtml b/app/views/public_body/show.rhtml index b56556d5d..e13f9d1c0 100644 --- a/app/views/public_body/show.rhtml +++ b/app/views/public_body/show.rhtml @@ -14,6 +14,9 @@ <% if !@public_body.publication_scheme.empty? %> <%= link_to _('Publication scheme'), @public_body.publication_scheme %><br> <% end %> + <% unless @public_body.disclosure_log.empty? %> + <%= link_to _('Disclosure log'), @public_body.disclosure_log %><br> + <% end %> <% if @public_body.has_tag?("charity") %> <% for tag_value in @public_body.get_tag_values("charity") %> <% if tag_value.match(/^SC/) %> |