remove hardcoded string from template

This commit is contained in:
jacr13 2021-04-14 23:06:40 +02:00
parent c04bed6334
commit 3651c63874
2 changed files with 3 additions and 2 deletions

View File

@ -294,7 +294,8 @@ class Filter:
soup = BeautifulSoup(render_template('imageresults.html',
length=len(results),
results=results),
results=results,
view_label="View Image"),
features='html.parser')
# replace search input object
soup.find_all('td',

View File

@ -86,7 +86,7 @@
<div class="Tor4Ec">
<span class="qXLe6d F9iS2e">
<span class="fYyStc">
View image
{{ view_label }}
</span>
</span>
</div>