gitea/templates/repo
mrsdizzie 489c8a1478
Compare SSH_DOMAIN when parsing submodule URLs ()
Right now we only compare the hostname from a submodule with the prefixURL it is viewed from to check if the submodule is hosted on the same Gitea instance. This adds an additional check to compare it against SSH_DOMAIN as well since the same Gitea instance might have a different hostname for SSH and if the submodule uses that hostname we should also detect that and link to the proper DOMAIN value.

Fixes , 
..
branch ui: Show git-pull-request icon for closed pull request ()
diff Do not show arrows on comment diffs on pull comment pages ()
editor Do not disable commit changes button on repost ()
issue ui: Show git-pull-request icon for closed pull request ()
projects Hide 'New Project board' button for users that are not signed in ()
pulls
release
settings Escape more things that are passed through str2html ()
wiki Fix clone panel in wiki position not always align right ()
activity.tmpl
blame.tmpl
branch_dropdown.tmpl
commit_page.tmpl Match GH with Commit page ()
commit_status.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl
commits_table.tmpl
create.tmpl
empty.tmpl
forks.tmpl
graph.tmpl Render the git graph on the server ()
header.tmpl Kanban board ()
header_icon.tmpl Update Octicons to v10 ()
home.tmpl Make copy/paste work for source code ()
migrate.tmpl Git migration UX ()
migrating.tmpl
search.tmpl
shabox_badge.tmpl
sub_menu.tmpl
user_cards.tmpl
view_file.tmpl Make copy/paste work for source code ()
view_list.tmpl Compare SSH_DOMAIN when parsing submodule URLs ()
watchers.tmpl