Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/repo_template.v
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand All @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions src/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -160,9 +160,9 @@ <h3>Main features:</h3>
<div class="block">
Check out Gitly in action by browsing the V language repo:

<a href="/alex/v">gitly.org/vlang/v</a>
<a href="https://gitly.org/alex/v">gitly.org/alex/v</a>

<a href="/alex/v">
<a href="https://gitly.org/alex/v">
<img class="gitly-screenshot" src="https://user-images.githubusercontent.com/687996/85933714-b195fe80-b8da-11ea-9ddd-09cadc2103e4.png">
</a>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/issue.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<div class="issue-main-post">
<h1>@issue.title #@issue.id</h1>
<div class="avatar-with-user-info">
<img src="@{app.prepare_user_avatar_url(issue_author.avatar)}">
<img src="../../@{app.prepare_user_avatar_url(issue_author.avatar)}">
<span>
<i>by</i> <a href="/@issue_author.username"><i>@issue_author.username</i></a>
<p>@issue.text</p>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/layout/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<div class="user" tabindex="0">
@if app.logged_in
.avatar {
<img src="@{app.prepare_user_avatar_url(app.user.avatar)}">
<img src="../../@{app.prepare_user_avatar_url(app.user.avatar)}">
}
.header-dropdown {
.username {
Expand Down
2 changes: 1 addition & 1 deletion src/templates/user.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<div class="profile-block-container">
<div class="profile-block__left">
<div class="profile-avatar" onclick="selectAvatar()">
<img src="@{app.prepare_user_avatar_url(user.avatar)}">
<img src="../../@{app.prepare_user_avatar_url(user.avatar)}">
</div>

@if user.full_name.len > 0
Expand Down
2 changes: 1 addition & 1 deletion src/templates/user/repos.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<div class="content">
<div class='avatar'>
<img src="@{app.prepare_user_avatar_url(user.avatar)}">
<img src="../../@{app.prepare_user_avatar_url(user.avatar)}">
</div>

<h1>@{user.username}'s repositories</h1>
Expand Down