Merge pull request #61 from kevinmarks/master
default the collapsed state to open for posts
This commit is contained in:
commit
eed6ddb646
2 changed files with 3 additions and 9 deletions
|
@ -28,7 +28,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
<article>
|
<article>
|
||||||
<details><summary><header>
|
<details open><summary><header>
|
||||||
{% if entry.author_photo %}
|
{% if entry.author_photo %}
|
||||||
<img src="{{entry.author_photo|proxy_image}}"/>
|
<img src="{{entry.author_photo|proxy_image}}"/>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -71,7 +71,6 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</details>
|
|
||||||
<footer>
|
<footer>
|
||||||
{% set location = entry.get_property('location') %}
|
{% set location = entry.get_property('location') %}
|
||||||
{% if location and 'name' in location %}
|
{% if location and 'name' in location %}
|
||||||
|
@ -98,4 +97,5 @@
|
||||||
{% include '_reply.jinja2' with context %}
|
{% include '_reply.jinja2' with context %}
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
</details>
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -48,13 +48,6 @@
|
||||||
<button type="submit">Save Edits</button> <span class="save-status"></span>
|
<button type="submit">Save Edits</button> <span class="save-status"></span>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<a target="_blank" href="{{ url_for('.index', subscription=s.id) }}">View Posts</a>
|
|
||||||
<br/>
|
|
||||||
<a class="show-details" data-target="details-{{loop.index}}" href="#">Show Details</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="feed-details" id="details-{{loop.index}}">
|
<div class="feed-details" id="details-{{loop.index}}">
|
||||||
<details><summary><strong>Details</strong></summary>
|
<details><summary><strong>Details</strong></summary>
|
||||||
<ul>
|
<ul>
|
||||||
|
@ -80,6 +73,7 @@
|
||||||
<input type="hidden" name="id" value="{{ s.id }}"/>
|
<input type="hidden" name="id" value="{{ s.id }}"/>
|
||||||
<button type="submit">Unsubscribe</button> <span class="unsubscribe-status"></span>
|
<button type="submit">Unsubscribe</button> <span class="unsubscribe-status"></span>
|
||||||
</form>
|
</form>
|
||||||
|
<a target="_blank" href="{{ url_for('.index', subscription=s.id) }}">View Posts</a>
|
||||||
|
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue