|
123 | 123 | <a class="ajax-op state-on mute-toggle" data-op="mute" style="display: none" href="{{url_for('watchlist.index', op='mute', uuid=watch.uuid, tag=active_tag_uuid)}}"><img src="{{url_for('static_content', group='images', filename='bell-off.svg')}}" alt="UnMute notification" title="UnMute notification" class="icon icon-mute" ></a>
|
124 | 124 | </td>
|
125 | 125 | <td class="title-col inline">
|
126 |
| - <img style="display: none" class="thumbnail" {% if watch.get_screenshot() %} src="{{url_for('static_content', group='thumbnail', filename=watch.uuid)}}"{% endif %} alt="thumbnail screenshot" title="thumbnail screenshot" > |
127 |
| - <div class="title-col-inner"> |
128 |
| - {{watch.title if watch.title is not none and watch.title|length > 0 else watch.url}} |
129 |
| - <a class="external" target="_blank" rel="noopener" href="{{ watch.link.replace('source:','') }}"></a> |
130 |
| - <a class="link-spread" href="{{url_for('ui.form_share_put_watch', uuid=watch.uuid)}}"><img src="{{url_for('static_content', group='images', filename='spread.svg')}}" class="status-icon icon icon-spread" title="Create a link to share watch config with others" ></a> |
131 |
| - {% if watch.get_fetch_backend == "html_webdriver" |
132 |
| - or ( watch.get_fetch_backend == "system" and system_default_fetcher == 'html_webdriver' ) |
133 |
| - or "extra_browser_" in watch.get_fetch_backend |
134 |
| - %} |
135 |
| - <img class="status-icon" src="{{url_for('static_content', group='images', filename='google-chrome-icon.png')}}" alt="Using a Chrome browser" title="Using a Chrome browser" > |
136 |
| - {% endif %} |
137 |
| - {% if watch.is_pdf %}<img class="status-icon" src="{{url_for('static_content', group='images', filename='pdf-icon.svg')}}" alt="Converting PDF to text" >{% endif %} |
138 |
| - {% if watch.has_browser_steps %}<img class="status-icon status-browsersteps" src="{{url_for('static_content', group='images', filename='steps.svg')}}" alt="Browser Steps is enabled" >{% endif %} |
| 126 | + <div class="title-wrapper"> |
| 127 | + <span style="height: 52px;"> |
| 128 | + <img style="display: none" class="thumbnail" {% if watch.get_screenshot() %} src="{{url_for('static_content', group='thumbnail', filename=watch.uuid)}}"{% endif %} alt="thumbnail screenshot" title="thumbnail screenshot" > |
| 129 | + </span> |
| 130 | + |
| 131 | + <div class="title-col-inner"> |
| 132 | + {{watch.title if watch.title is not none and watch.title|length > 0 else watch.url}} |
| 133 | + <a class="external" target="_blank" rel="noopener" href="{{ watch.link.replace('source:','') }}"></a> |
| 134 | + <a class="link-spread" href="{{url_for('ui.form_share_put_watch', uuid=watch.uuid)}}"><img src="{{url_for('static_content', group='images', filename='spread.svg')}}" class="status-icon icon icon-spread" title="Create a link to share watch config with others" ></a> |
| 135 | + {% if watch.get_fetch_backend == "html_webdriver" |
| 136 | + or ( watch.get_fetch_backend == "system" and system_default_fetcher == 'html_webdriver' ) |
| 137 | + or "extra_browser_" in watch.get_fetch_backend |
| 138 | + %} |
| 139 | + <img class="status-icon" src="{{url_for('static_content', group='images', filename='google-chrome-icon.png')}}" alt="Using a Chrome browser" title="Using a Chrome browser" > |
| 140 | + {% endif %} |
| 141 | + {% if watch.is_pdf %}<img class="status-icon" src="{{url_for('static_content', group='images', filename='pdf-icon.svg')}}" alt="Converting PDF to text" >{% endif %} |
| 142 | + {% if watch.has_browser_steps %}<img class="status-icon status-browsersteps" src="{{url_for('static_content', group='images', filename='steps.svg')}}" alt="Browser Steps is enabled" >{% endif %} |
| 143 | + </div> |
| 144 | + {% for watch_tag_uuid, watch_tag in datastore.get_all_tags_for_watch(watch['uuid']).items() %} |
| 145 | + <span class="watch-tag-list">{{ watch_tag.title }}</span> |
| 146 | + {% endfor %} |
139 | 147 | </div>
|
140 | 148 |
|
141 | 149 | <div class="error-text" style="display:none;">{{ watch.compile_error_texts(has_proxies=datastore.proxy_list)|safe }}</div>
|
|
147 | 155 | {% if watch['processor'] == 'restock_diff' %}
|
148 | 156 | <span class="tracking-ldjson-price-data" title="Automatically following embedded price information"><img src="{{url_for('static_content', group='images', filename='price-tag-icon.svg')}}" class="status-icon price-follow-tag-icon" > Price</span>
|
149 | 157 | {% endif %}
|
150 |
| - {% for watch_tag_uuid, watch_tag in datastore.get_all_tags_for_watch(watch['uuid']).items() %} |
151 |
| - <span class="watch-tag-list">{{ watch_tag.title }}</span> |
152 |
| - {% endfor %} |
| 158 | + |
153 | 159 | </td>
|
154 | 160 | <!-- @todo make it so any watch handler obj can expose this --->
|
155 | 161 | {% if any_has_restock_price_processor %}
|
|
0 commit comments