6fbfe441de
- In order to determine if the "Add more..." tab should be shown, the template has to know if the repository has all units enabled, this is done in the repository header which can be shown for quite a lot of pages (code, issues, projects, actions etc.) - This was previously set in the `RepoRefByType` function, which would be called by pages such as code, issues and releases, but it was not being called for all pages such as actions, packages and wiki. Which would in turn incorrectly show the "Add more..." button when it shouldn't. - Now call it from the template itself, so the value is 'always' loaded when necessary. |
||
---|---|---|
.. | ||
actions | ||
branch | ||
cite | ||
code | ||
diff | ||
editor | ||
find | ||
graph | ||
issue | ||
migrate | ||
projects | ||
pulls | ||
release | ||
settings | ||
tag | ||
wiki | ||
activity.tmpl | ||
admin_flags.tmpl | ||
blame.tmpl | ||
branch_dropdown.tmpl | ||
clone_buttons.tmpl | ||
clone_script.tmpl | ||
commit_load_branches_and_tags.tmpl | ||
commit_page.tmpl | ||
commit_status.tmpl | ||
commit_statuses.tmpl | ||
commits.tmpl | ||
commits_list.tmpl | ||
commits_list_small.tmpl | ||
commits_table.tmpl | ||
contributors.tmpl | ||
create.tmpl | ||
create_helper.tmpl | ||
empty.tmpl | ||
file_info.tmpl | ||
flags.tmpl | ||
forks.tmpl | ||
graph.tmpl | ||
header.tmpl | ||
home.tmpl | ||
icon.tmpl | ||
latest_commit.tmpl | ||
navbar.tmpl | ||
packages.tmpl | ||
pulse.tmpl | ||
release_tag_header.tmpl | ||
search.tmpl | ||
search_name.tmpl | ||
shabox_badge.tmpl | ||
star_unstar.tmpl | ||
sub_menu.tmpl | ||
unicode_escape_prompt.tmpl | ||
upload.tmpl | ||
user_cards.tmpl | ||
view_file.tmpl | ||
view_list.tmpl | ||
watch_unwatch.tmpl | ||
watchers.tmpl |