summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-11-18 08:57:16 -0500
committerDrew DeVault <sir@cmpwn.com>2018-11-18 08:57:16 -0500
commit6c2fed4f956cbb9ccffd318b3cecc8d9540e61e4 (patch)
tree9b8180e9b0f63f967de2fb63a9e5c2cad581891c
parentca25481fc45e89b9bb32932c556a9c8f63caa19b (diff)
Minor tweaks to RSS support
-rw-r--r--gitsrht/blueprints/repo.py2
-rw-r--r--gitsrht/templates/log.html2
-rw-r--r--gitsrht/templates/refs.html2
3 files changed, 3 insertions, 3 deletions
diff --git a/gitsrht/blueprints/repo.py b/gitsrht/blueprints/repo.py
index 476a140..5c1c602 100644
--- a/gitsrht/blueprints/repo.py
+++ b/gitsrht/blueprints/repo.py
@@ -426,7 +426,7 @@ def refs_rss(owner, repo):
references = sorted(references, key=_ref_sort_key, reverse=True)[:20]
repo_name = f"{repo.owner.canonical_name}/{repo.name}"
- title = f"{repo_name} log"
+ title = f"{repo_name} refs"
description = f"Git refs for {repo_name}"
link = cfg("git.sr.ht", "origin") + url_for("repo.refs",
owner=repo.owner.canonical_name,
diff --git a/gitsrht/templates/log.html b/gitsrht/templates/log.html
index fb19bd3..dbb1643 100644
--- a/gitsrht/templates/log.html
+++ b/gitsrht/templates/log.html
@@ -15,7 +15,7 @@
<li class="flex-grow-1 d-none d-sm-block"></li>
<li class="nav-item">
<a class="nav-link active" href="{{ repo|log_rss_url(ref=ref) }}">
- {{ icon('rss') }} RSS
+ {{ icon('rss', cls='sm') }} RSS
</a>
</li>
{% endblock %}
diff --git a/gitsrht/templates/refs.html b/gitsrht/templates/refs.html
index d496d68..5a4ca05 100644
--- a/gitsrht/templates/refs.html
+++ b/gitsrht/templates/refs.html
@@ -15,7 +15,7 @@
<li class="flex-grow-1 d-none d-sm-block"></li>
<li class="nav-item">
<a class="nav-link active" href="{{ repo|refs_rss_url }}">
- {{ icon('rss') }} RSS
+ {{ icon('rss', cls='sm') }} RSS
</a>
</li>
{% endblock %}