From 957d25b00be2f928cc71c08a1557ea8338bc6cdc Mon Sep 17 00:00:00 2001 From: ZueffC Date: Fri, 29 Dec 2023 01:37:38 +0300 Subject: [PATCH] The first pull request I'll define for fixing some frontend bugs such as missing names: "Branch" and "Branches" were raplaces by "Tag" and "Tags" where it's necessary. The second bug fixed is an avatar url bug which cause situation when avatar don't displayed because of broken url. --- src/repo_template.v | 4 ++-- src/templates/index.html | 4 ++-- src/templates/issue.html | 2 +- src/templates/layout/header.html | 2 +- src/templates/user.html | 2 +- src/templates/user/repos.html | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/repo_template.v b/src/repo_template.v index a5ec3fba..a8458614 100644 --- a/src/repo_template.v +++ b/src/repo_template.v @@ -22,7 +22,7 @@ fn (r &Repo) format_nr_branches() vweb.RawHtml { } fn (r &Repo) format_nr_tags() vweb.RawHtml { - return get_declension_form(r.nr_tags, 'Branch', 'Branches') + return get_declension_form(r.nr_tags, 'Tag', 'Tags') } fn (r &Repo) format_nr_open_prs() vweb.RawHtml { @@ -38,7 +38,7 @@ fn (r &Repo) format_nr_contributors() vweb.RawHtml { } fn (r &Repo) format_nr_topics() vweb.RawHtml { - return get_declension_form(r.nr_topics, 'Discussion', 'discussions') + return get_declension_form(r.nr_topics, 'Discussion', 'Discussions') } fn (r &Repo) format_nr_releases() vweb.RawHtml { diff --git a/src/templates/index.html b/src/templates/index.html index a38479b1..6d39c111 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -160,9 +160,9 @@

Main features:

Check out Gitly in action by browsing the V language repo: - gitly.org/vlang/v + gitly.org/alex/v - +
diff --git a/src/templates/issue.html b/src/templates/issue.html index ce9d97cc..5758906d 100644 --- a/src/templates/issue.html +++ b/src/templates/issue.html @@ -16,7 +16,7 @@

@issue.title #@issue.id