2026-06-06 14:31:42 +00:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
{% block extra_head %}
|
2026-06-14 00:16:22 +00:00
|
|
|
<link rel="stylesheet" href="{{ static_url('/static/css/feed.css') }}">
|
|
|
|
|
<link rel="stylesheet" href="{{ static_url('/static/css/post.css') }}">
|
2026-06-06 14:31:42 +00:00
|
|
|
{% endblock %}
|
|
|
|
|
{% block content %}
|
|
|
|
|
<div class="saved-page">
|
|
|
|
|
<h1 class="saved-title">Saved</h1>
|
|
|
|
|
<div class="saved-list">
|
|
|
|
|
{% for item in items %}
|
|
|
|
|
<a href="{{ item.url }}" class="saved-item">
|
|
|
|
|
<span class="saved-type badge">{{ item.type_label }}</span>
|
2026-06-18 22:09:34 +00:00
|
|
|
<span class="saved-item-title">{{ render_title(item.title) }}</span>
|
2026-06-16 03:32:19 +00:00
|
|
|
<span class="saved-item-time">{{ dt_ago(item.created_at) if item.created_at else item.time_ago }}</span>
|
2026-06-06 14:31:42 +00:00
|
|
|
</a>
|
|
|
|
|
{% else %}
|
|
|
|
|
<div class="empty-state">Nothing saved yet. Use the Save button on posts, gists, projects and news.</div>
|
|
|
|
|
{% endfor %}
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{% if next_cursor %}
|
|
|
|
|
<div class="load-more-wrap">
|
|
|
|
|
<a href="/bookmarks/saved?before={{ next_cursor }}" class="btn btn-secondary">Load more</a>
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|