0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-01-15 10:54:47 -05:00
forgejo/templates/repo
Beowulf c54896ba70 Show repo activities even if only code unit active or git repo is empty but issue is active (#3455)
When all repository units are deactivated except for the code unit, the activity tab will not be shown.
Since the activities tab also shows contributing stats, it would be good to show the activities tab also when only code is active.
This commit changes the behavior when the activities tab is shown.
Previous it would only be shown when Issues, Pull-Requests or Releases are activated. Now it would additionally be shown when the code unit is activated.

Refs: #3429

| Before (Code + Issues - Owner) | Before (Code - Viewer) | After (Code + Issues - Owner) | After (Code - Viewer) |
| -- | -- | -- | -- |
| ![image](/attachments/2af997bc-1f38-48c6-bdf3-cfbd7087b220)  | ![image](/attachments/ef1797f0-5c9a-4a1a-ba82-749f3ab4f403) | ![image](/attachments/fd28a96c-04ca-407e-a70d-d28b393f223d) | ![image](/attachments/2cd0d559-a6de-4ca0-a736-29c5fea81b5a) |
|  | `/activity` returns 404 for everyone | ![image](/attachments/e0e97d8f-48cb-4c16-a505-1fafa46c4b8e)  | - |

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3455
Reviewed-by: Otto <otto@codeberg.org>
Co-authored-by: Beowulf <beowulf@beocode.eu>
Co-committed-by: Beowulf <beowulf@beocode.eu>
2024-04-28 13:47:52 +00:00
..
actions Fix various overflows on actions view (#30344) 2024-04-21 11:53:50 +02:00
branch
cite
code
diff Fix unlabelled button in code review 2024-04-18 16:20:29 +02:00
editor Convert max file name length to 255 (#30489) 2024-04-21 11:53:41 +02:00
find
graph Fix DEFAULT_SHOW_FULL_NAME=false has no effect in commit list and commit graph page (#30096) 2024-04-07 10:52:45 +02:00
issue Move watching sub-template to sidebar folder 2024-04-28 12:56:28 +02:00
migrate
projects
pulls
release [FEAT]Add Option to hide Release Archive links (#3139) 2024-04-24 15:15:55 +00:00
settings fix(lfs): gogit /settings/lfs/find 500 error (#3472) 2024-04-26 09:22:09 +00:00
tag Adjust the signed tag verification line 2024-04-02 23:02:34 +02:00
wiki Make display of EasyMDE in UI optional to template 2024-04-15 21:23:33 +05:00
activity.tmpl Show repo activities even if only code unit active or git repo is empty but issue is active (#3455) 2024-04-28 13:47:52 +00:00
admin_flags.tmpl
blame.tmpl Fix border-radius on view, blame and code search (#30545) 2024-04-21 16:28:16 +02:00
branch_dropdown.tmpl
clone_buttons.tmpl
clone_script.tmpl
code_frequency.tmpl
commit_load_branches_and_tags.tmpl
commit_page.tmpl Various improvements for long file and commit names (#30374) 2024-04-15 20:01:35 +02:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl [PORT] gitea#30396: Fix author name alignment in commits table 2024-04-15 20:09:34 +02:00
commits_list_small.tmpl Fix and tweak pull request commit list (#30528) 2024-04-21 12:10:57 +02:00
commits_search_dropdown.tmpl
commits_table.tmpl
contributors.tmpl
create.tmpl
create_helper.tmpl
empty.tmpl
file_info.tmpl
flags.tmpl
forks.tmpl
graph.tmpl
header.tmpl Show repo activities even if only code unit active or git repo is empty but issue is active (#3455) 2024-04-28 13:47:52 +00:00
header_fork.tmpl
home.tmpl Various improvements for long file and commit names (#30374) 2024-04-15 20:01:35 +02:00
icon.tmpl
latest_commit.tmpl Fix DEFAULT_SHOW_FULL_NAME=false has no effect in commit list and commit graph page (#30096) 2024-04-07 10:52:45 +02:00
navbar.tmpl
packages.tmpl
pulse.tmpl Pulse page improvements (#30149) 2024-04-21 11:08:33 +02:00
recent_commits.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 Fix border-radius on view, blame and code search (#30545) 2024-04-21 16:28:16 +02:00
view_list.tmpl Various improvements for long file and commit names (#30374) 2024-04-15 20:01:35 +02:00
watch_unwatch.tmpl
watchers.tmpl