Skip to content

Commit

Permalink
Hide comments meant as unseen
Browse files Browse the repository at this point in the history
  • Loading branch information
David Read committed Nov 20, 2015
1 parent 6492a66 commit 09ebeb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ckanext/archiver/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def archiver_resource_show(resource_id):
def archiver_is_resource_broken_html(resource):
archival = resource.get('archiver')
if not archival:
return '<!-- No archival info for this resource -->'
return tk.literal('<!-- No archival info for this resource -->')
extra_vars = {'resource': resource}
extra_vars.update(archival)
return tk.literal(
Expand All @@ -20,7 +20,7 @@ def archiver_is_resource_broken_html(resource):
def archiver_is_resource_cached_html(resource):
archival = resource.get('archiver')
if not archival:
return '<!-- No archival info for this resource -->'
return tk.literal('<!-- No archival info for this resource -->')
extra_vars = {'resource': resource}
extra_vars.update(archival)
return tk.literal(
Expand Down

0 comments on commit 09ebeb8

Please sign in to comment.