remove hardcoded string from template
This commit is contained in:
parent
c04bed6334
commit
3651c63874
|
@ -294,7 +294,8 @@ class Filter:
|
||||||
|
|
||||||
soup = BeautifulSoup(render_template('imageresults.html',
|
soup = BeautifulSoup(render_template('imageresults.html',
|
||||||
length=len(results),
|
length=len(results),
|
||||||
results=results),
|
results=results,
|
||||||
|
view_label="View Image"),
|
||||||
features='html.parser')
|
features='html.parser')
|
||||||
# replace search input object
|
# replace search input object
|
||||||
soup.find_all('td',
|
soup.find_all('td',
|
||||||
|
|
|
@ -86,7 +86,7 @@
|
||||||
<div class="Tor4Ec">
|
<div class="Tor4Ec">
|
||||||
<span class="qXLe6d F9iS2e">
|
<span class="qXLe6d F9iS2e">
|
||||||
<span class="fYyStc">
|
<span class="fYyStc">
|
||||||
View image
|
{{ view_label }}
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user