diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-08-24 13:21:52 +0200 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-08-24 13:21:54 +0200 |
commit | 8260b4bc2adddc7720814c646965c97a8e8a7dba (patch) | |
tree | ee31728a90a75ede1622b3ec2c1e1f78255625dd /python/fatcat_web/templates | |
parent | d1a8d1a9845e74e7dc4501cb609ebae464b48a01 (diff) | |
download | fatcat-8260b4bc2adddc7720814c646965c97a8e8a7dba.tar.gz fatcat-8260b4bc2adddc7720814c646965c97a8e8a7dba.zip |
Read Full Text not Download
On release views. Also don't blue-link webcapture URLs (but still a
hyperlink).
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r-- | python/fatcat_web/templates/release_view.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html index 52f32fdc..526793e3 100644 --- a/python/fatcat_web/templates/release_view.html +++ b/python/fatcat_web/templates/release_view.html @@ -222,7 +222,7 @@ <table class="ui single line compact fixed table"> <tbody> {% for webcapture in entity.webcaptures %} - <tr><td><b><a href="{{ webcapture.original_url }}">{{ webcapture.original_url }}</a></b> + <tr><td><b><a href="{{ webcapture.original_url }}" style="color: black;">{{ webcapture.original_url }}</a></b> <br>{{ webcapture.timestamp.strftime("%Y-%m-%d %H:%M:%S") }} | {{ webcapture.cdx|count }} resources <br><small><code><a href="/webcapture/{{ webcapture.ident }}">webcapture:{{ webcapture.ident }}</a></code></small> <td class="single line"> @@ -243,7 +243,7 @@ <div class="column" style="flex: 0 0 24em;"> {% if entity.state == 'active' and entity.files != [] and entity.files[0].urls != [] %} -<a href="{{ entity.files[0].urls[0].url }}" class="ui top attached fluid huge green button"><i class="file pdf outline icon"></i>Download Full Text</a> +<a href="{{ entity.files[0].urls[0].url }}" class="ui top attached fluid huge green button"><i class="file pdf outline icon"></i>Read Full Text</a> {% elif entity.state == 'active' and entity.webcaptures != [] and entity.webcaptures[0].archive_urls != [] and entity.webcaptures[0].archive_urls[0].rel == "wayback" %} <a href="{{ entity.webcaptures[0].archive_urls[0].url }}{{ entity.webcaptures[0]._wayback_suffix }}" class="ui top attached fluid huge green button"><i class="file archive outline icon"></i>View Web Archive</a> {% elif entity.state == 'active' %} |