2023-05-29 12:44:03 +02:00
< div class = "issue-content-right ui segment" >
{{ template "repo/issue/branch_selector_field" . }}
{{ if .Issue.IsPull }}
< input id = "reviewer_id" name = "reviewer_id" type = "hidden" value = " {{ .reviewer_id }} " >
2024-02-15 12:30:11 +01:00
< div class = "ui {{ if or ( and ( not .Reviewers ) ( not .TeamReviewers )) ( not .CanChooseReviewer ) .Repository.IsArchived }} disabled {{ end }} floating jump select-reviewers-modify dropdown" >
2024-03-22 20:51:29 +01:00
< a class = "text tw-flex tw-items-center muted" >
2023-09-25 10:56:50 +02:00
< strong > {{ ctx .Locale.Tr "repo.issues.review.reviewers" }} </ strong >
2023-05-29 12:44:03 +02:00
{{ if and .CanChooseReviewer ( not .Repository.IsArchived ) }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-gear" 16 "tw-ml-1" }}
2023-05-29 12:44:03 +02:00
{{ end }}
< / a >
< div class = "filter menu" data-action = "update" data-issue-id = " {{ $.Issue.ID }} " data-update-url = " {{ $.RepoLink }} /issues/request_review" >
{{ if .Reviewers }}
< div class = "ui icon search input" >
2023-08-26 01:35:10 +02:00
< i class = "icon" > {{ svg "octicon-search" 16 }} </ i >
2023-09-25 10:56:50 +02:00
< input type = "text" placeholder = " {{ ctx .Locale.Tr "repo.issues.filter_reviewers" }} " >
2023-05-29 12:44:03 +02:00
< / div >
{{ end }}
{{ if .Reviewers }}
{{ range .Reviewers }}
{{ if .User }}
2023-09-25 10:56:50 +02:00
< a class = " {{ if not .CanChange }} ui {{ end }} item {{ if .Checked }} checked {{ end }} {{ if not .CanChange }} ban-change {{ end }} " href = "#" data-id = " {{ .ItemID }} " data-id-selector = "#review_request_ {{ .ItemID }} " {{ if not .CanChange }} data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.remove_request_review_block" }} " {{ end }} >
2024-03-05 06:29:32 +01:00
< span class = "octicon-check {{ if not .Checked }} tw-invisible {{ end }} " > {{ svg "octicon-check" }} </ span >
2023-05-29 12:44:03 +02:00
< span class = "text" >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ ctx .AvatarUtils.Avatar .User 28 "tw-mr-2" }}{{ template "repo/search_name" .User }}
2023-05-29 12:44:03 +02:00
< / span >
< / a >
2020-04-06 18:33:34 +02:00
{{ end }}
{{ end }}
2023-05-29 12:44:03 +02:00
{{ end }}
{{ if .TeamReviewers }}
2024-02-15 12:30:11 +01:00
{{ if .Reviewers }}
< div class = "divider" > < / div >
{{ end }}
2023-05-29 12:44:03 +02:00
{{ range .TeamReviewers }}
{{ if .Team }}
2023-09-25 10:56:50 +02:00
< a class = " {{ if not .CanChange }} ui {{ end }} item {{ if .Checked }} checked {{ end }} {{ if not .CanChange }} ban-change {{ end }} " href = "#" data-id = " {{ .ItemID }} " data-id-selector = "#review_request_team_ {{ .Team.ID }} " {{ if not .CanChange }} data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.remove_request_review_block" }} " {{ end }} >
2024-03-05 06:29:32 +01:00
< span class = "octicon-check {{ if not .Checked }} tw-invisible {{ end }} " > {{ svg "octicon-check" 16 }} </ span >
2023-05-29 12:44:03 +02:00
< span class = "text" >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-people" 16 "tw-ml-4 tw-mr-1" }}{{ $.Issue.Repo.OwnerName }} /{{ .Team.Name }}
2023-05-29 12:44:03 +02:00
< / span >
< / a >
2020-10-12 21:55:13 +02:00
{{ end }}
2020-04-06 18:33:34 +02:00
{{ end }}
2023-05-29 12:44:03 +02:00
{{ end }}
2020-04-06 18:33:34 +02:00
< / div >
2023-05-29 12:44:03 +02:00
< / div >
2020-04-06 18:33:34 +02:00
2023-05-29 12:44:03 +02:00
< div class = "ui assignees list" >
2024-03-24 19:23:38 +01:00
< span class = "no-select item {{ if or .OriginalReviews .PullReviewers }} tw-hidden {{ end }} " > {{ ctx .Locale.Tr "repo.issues.new.no_reviewers" }} </ span >
2023-05-29 12:44:03 +02:00
< div class = "selected" >
{{ range .PullReviewers }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "item tw-flex tw-items-center tw-py-2" >
2024-03-22 20:51:29 +01:00
< div class = "tw-flex tw-items-center tw-flex-1" >
2021-02-28 15:05:55 +01:00
{{ if .User }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< a class = "muted sidebar-item-link" href = " {{ .User.HomeLink }} " > {{ ctx .AvatarUtils.Avatar .User 20 "tw-mr-2" }}{{ .User.GetDisplayName }} </ a >
2021-02-28 15:05:55 +01:00
{{ else if .Team }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< span class = "text" > {{ svg "octicon-people" 20 "tw-mr-2" }}{{ $.Issue.Repo.OwnerName }} /{{ .Team.Name }} </ span >
2020-04-06 18:33:34 +02:00
{{ end }}
2021-02-28 15:05:55 +01:00
< / div >
2024-03-24 15:31:35 +01:00
< div class = "tw-flex tw-items-center tw-gap-2" >
2024-03-28 16:19:24 +01:00
{{ if ( and $.Permission.IsAdmin ( or ( eq .Review.Type 1 ) ( eq .Review.Type 3 )) ( not $.Issue.IsClosed ) ( not $.Issue.PullRequest.HasMerged )) }}
2024-03-22 20:51:29 +01:00
< a href = "#" class = "ui muted icon tw-flex tw-items-center show-modal" data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.dismiss_review" }} " data-modal = "#dismiss-review-modal- {{ .Review.ID }} " >
2023-05-29 12:44:03 +02:00
{{ svg "octicon-x" 20 }}
< / a >
2023-06-09 12:27:10 +02:00
< div class = "ui small modal" id = "dismiss-review-modal- {{ .Review.ID }} " >
2023-05-29 12:44:03 +02:00
< div class = "header" >
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.dismiss_review" }}
2023-05-29 12:44:03 +02:00
< / div >
< div class = "content" >
< div class = "ui warning message" >
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.dismiss_review_warning" }}
2023-05-29 12:44:03 +02:00
< / div >
< form class = "ui form dismiss-review-form" id = "dismiss-review- {{ .Review.ID }} " action = " {{ $.RepoLink }} /issues/dismiss_review" method = "post" >
{{ $.CsrfTokenHtml }}
< input type = "hidden" name = "review_id" value = " {{ .Review.ID }} " >
< div class = "field" >
2023-09-25 10:56:50 +02:00
< label for = "message" > {{ ctx .Locale.Tr "action.review_dismissed_reason" }} </ label >
2023-05-29 12:44:03 +02:00
< input id = "message" name = "message" >
< / div >
< div class = "text right actions" >
2023-09-25 10:56:50 +02:00
< button class = "ui cancel button" > {{ ctx .Locale.Tr "settings.cancel" }} </ button >
< button class = "ui red button" type = "submit" > {{ ctx .Locale.Tr "ok" }} </ button >
2023-05-29 12:44:03 +02:00
< / div >
< / form >
< / div >
< / div >
{{ end }}
{{ if .Review.Stale }}
2023-09-25 10:56:50 +02:00
< span data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.is_stale" }} " >
2023-05-29 12:44:03 +02:00
{{ svg "octicon-hourglass" 16 }}
2021-09-18 18:22:51 +02:00
< / span >
2023-05-29 12:44:03 +02:00
{{ end }}
2024-03-28 16:19:24 +01:00
{{ if and .CanChange ( or .Checked ( and ( not $.Issue.IsClosed ) ( not $.Issue.PullRequest.HasMerged ))) }}
2023-09-25 10:56:50 +02:00
< a href = "#" class = "ui muted icon re-request-review {{ if .Checked }} checked {{ end }} " data-tooltip-content = " {{ if .Checked }}{{ ctx .Locale.Tr "repo.issues.remove_request_review" }}{{ else }}{{ ctx .Locale.Tr "repo.issues.re_request_review" }}{{ end }} " data-issue-id = " {{ $.Issue.ID }} " data-id = " {{ .ItemID }} " data-update-url = " {{ $.RepoLink }} /issues/request_review" > {{ if .Checked }}{{ svg "octicon-trash" }}{{ else }}{{ svg "octicon-sync" }}{{ end }} </ a >
2023-05-29 12:44:03 +02:00
{{ end }}
{{ svg ( printf "octicon-%s" .Review.Type.Icon ) 16 ( printf "text %s" ( .Review.HTMLTypeColorName )) }}
< / div >
< / div >
{{ end }}
{{ range .OriginalReviews }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "item tw-flex tw-items-center tw-py-2" >
2024-03-22 20:51:29 +01:00
< div class = "tw-flex tw-items-center tw-flex-1" >
2024-02-25 15:02:20 +01:00
< a class = "muted" href = " {{ $.Repository.OriginalURL }} " data-tooltip-content = " {{ ctx .Locale.Tr "repo.migrated_from_fake" $.Repository.GetOriginalURLHostname }} " >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg ( MigrationIcon $.Repository.GetOriginalURLHostname ) 20 "tw-mr-2" }}
2023-05-29 12:44:03 +02:00
{{ .OriginalAuthor }}
2021-09-18 18:22:51 +02:00
< / a >
2021-02-28 15:05:55 +01:00
< / div >
2024-03-24 15:31:35 +01:00
< div class = "tw-flex tw-items-center tw-gap-2" >
2023-05-29 12:44:03 +02:00
{{ svg ( printf "octicon-%s" .Type.Icon ) 16 ( printf "text %s" ( .HTMLTypeColorName )) }}
< / div >
< / div >
{{ end }}
< / div >
< / div >
2024-03-14 16:59:57 +01:00
{{ if and ( or .HasIssuesOrPullsWritePermission .IsIssuePoster ) ( not .HasMerged ) ( not .Issue.IsClosed ) }}
2024-04-23 01:21:28 +02:00
< div class = "toggle-wip" data-title = " {{ .Issue.Title }} " data-wip-prefixes = " {{ JsonUtils .EncodeToString .PullRequestWorkInProgressPrefixes }} " data-update-url = " {{ .Issue.Link }} /title" >
2023-05-29 12:44:03 +02:00
< a class = "muted" >
2024-03-14 16:59:57 +01:00
{{ if .IsPullWorkInProgress }}
{{ ctx .Locale.Tr "repo.pulls.ready_for_review" }} {{ ctx .Locale.Tr "repo.pulls.remove_prefix" ( index .PullRequestWorkInProgressPrefixes 0 ) }}
{{ else }}
{{ ctx .Locale.Tr "repo.pulls.still_in_progress" }} {{ ctx .Locale.Tr "repo.pulls.add_prefix" ( index .PullRequestWorkInProgressPrefixes 0 ) }}
{{ end }}
2023-05-29 12:44:03 +02:00
< / a >
2020-04-06 18:33:34 +02:00
< / div >
2020-06-17 16:12:06 +02:00
{{ end }}
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2023-05-29 12:44:03 +02:00
{{ end }}
{{ template "repo/issue/labels/labels_selector_field" . }}
{{ template "repo/issue/labels/labels_sidebar" dict "root" $ }}
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2020-04-06 18:33:34 +02:00
2023-05-29 12:44:03 +02:00
< div class = "ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository.IsArchived }} disabled {{ end }} floating jump select-milestone dropdown" >
2023-07-04 19:45:45 +02:00
< a class = "text muted flex-text-block" >
2023-09-25 10:56:50 +02:00
< strong > {{ ctx .Locale.Tr "repo.issues.new.milestone" }} </ strong >
2023-05-29 12:44:03 +02:00
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository.IsArchived ) }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-gear" 16 "tw-ml-1" }}
2023-05-29 12:44:03 +02:00
{{ end }}
< / a >
< div class = "menu" data-action = "update" data-issue-id = " {{ $.Issue.ID }} " data-update-url = " {{ $.RepoLink }} /issues/milestone" >
{{ template "repo/issue/milestone/select_menu" . }}
< / div >
< / div >
< div class = "ui select-milestone list" >
2024-03-24 19:23:38 +01:00
< span class = "no-select item {{ if .Issue.Milestone }} tw-hidden {{ end }} " > {{ ctx .Locale.Tr "repo.issues.new.no_milestone" }} </ span >
2023-05-29 12:44:03 +02:00
< div class = "selected" >
{{ if .Issue.Milestone }}
< a class = "item muted sidebar-item-link" href = " {{ .RepoLink }} /milestone/ {{ .Issue.Milestone.ID }} " >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-milestone" 18 "tw-mr-2" }}
2023-05-29 12:44:03 +02:00
{{ .Issue.Milestone.Name }}
< / a >
{{ end }}
< / div >
< / div >
2017-03-17 06:57:43 +01:00
2024-03-08 05:33:52 +01:00
< div class = "divider" > < / div >
2017-03-17 06:57:43 +01:00
2024-03-08 05:33:52 +01:00
< div class = "ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository.IsArchived }} disabled {{ end }} floating jump select-project dropdown" >
< a class = "text muted flex-text-block" >
< strong > {{ ctx .Locale.Tr "repo.issues.new.projects" }} </ strong >
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository.IsArchived ) }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-gear" 16 "tw-ml-1" }}
2024-03-08 05:33:52 +01:00
{{ end }}
< / a >
< div class = "menu" data-action = "update" data-issue-id = " {{ $.Issue.ID }} " data-update-url = " {{ $.RepoLink }} /issues/projects" >
{{ if or .OpenProjects .ClosedProjects }}
< div class = "ui icon search input" >
< i class = "icon" > {{ svg "octicon-search" 16 }} </ i >
< input type = "text" placeholder = " {{ ctx .Locale.Tr "repo.issues.filter_projects" }} " >
< / div >
{{ end }}
< div class = "no-select item" > {{ ctx .Locale.Tr "repo.issues.new.clear_projects" }} </ div >
2024-03-08 05:43:27 +01:00
{{ if and ( not .OpenProjects ) ( not .ClosedProjects ) }}
< div class = "disabled item" >
{{ ctx .Locale.Tr "repo.issues.new.no_items" }}
2023-05-29 12:44:03 +02:00
< / div >
2024-03-08 05:43:27 +01:00
{{ end }}
2024-03-08 05:33:52 +01:00
{{ if .OpenProjects }}
< div class = "divider" > < / div >
< div class = "header" >
{{ ctx .Locale.Tr "repo.issues.new.open_projects" }}
2023-05-29 12:44:03 +02:00
< / div >
2024-03-08 05:33:52 +01:00
{{ range .OpenProjects }}
< a class = "item muted sidebar-item-link" data-id = " {{ .ID }} " data-href = " {{ .Link ctx }} " >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg .IconName 18 "tw-mr-2" }}{{ .Title }}
2024-03-08 05:33:52 +01:00
< / a >
2023-05-29 12:44:03 +02:00
{{ end }}
2024-03-08 05:33:52 +01:00
{{ end }}
{{ if .ClosedProjects }}
< div class = "divider" > < / div >
< div class = "header" >
{{ ctx .Locale.Tr "repo.issues.new.closed_projects" }}
< / div >
{{ range .ClosedProjects }}
< a class = "item muted sidebar-item-link" data-id = " {{ .ID }} " data-href = " {{ .Link ctx }} " >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg .IconName 18 "tw-mr-2" }}{{ .Title }}
2020-11-29 07:22:04 +01:00
< / a >
2017-03-17 06:57:43 +01:00
{{ end }}
2024-03-08 05:33:52 +01:00
{{ end }}
2017-03-17 06:57:43 +01:00
< / div >
2024-03-08 05:33:52 +01:00
< / div >
< div class = "ui select-project list" >
2024-03-24 19:23:38 +01:00
< span class = "no-select item {{ if .Issue.Project }} tw-hidden {{ end }} " > {{ ctx .Locale.Tr "repo.issues.new.no_projects" }} </ span >
2024-03-08 05:33:52 +01:00
< div class = "selected" >
{{ if .Issue.Project }}
< a class = "item muted sidebar-item-link" href = " {{ .Issue.Project.Link ctx }} " >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg .Issue.Project.IconName 18 "tw-mr-2" }}{{ .Issue.Project.Title }}
2024-03-08 05:33:52 +01:00
< / a >
{{ end }}
< / div >
< / div >
2017-03-17 06:57:43 +01:00
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2020-11-29 07:22:04 +01:00
2023-05-29 12:44:03 +02:00
< input id = "assignee_id" name = "assignee_id" type = "hidden" value = " {{ .assignee_id }} " >
< div class = "ui {{ if or ( not .HasIssuesOrPullsWritePermission ) .Repository.IsArchived }} disabled {{ end }} floating jump select-assignees-modify dropdown" >
2023-07-04 19:45:45 +02:00
< a class = "text muted flex-text-block" >
2023-09-25 10:56:50 +02:00
< strong > {{ ctx .Locale.Tr "repo.issues.new.assignees" }} </ strong >
2023-05-29 12:44:03 +02:00
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository.IsArchived ) }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-gear" 16 "tw-ml-1" }}
2023-05-29 12:44:03 +02:00
{{ end }}
< / a >
< div class = "filter menu" data-action = "update" data-issue-id = " {{ $.Issue.ID }} " data-update-url = " {{ $.RepoLink }} /issues/assignee" >
< div class = "ui icon search input" >
2023-08-26 01:35:10 +02:00
< i class = "icon" > {{ svg "octicon-search" 16 }} </ i >
2023-09-25 10:56:50 +02:00
< input type = "text" placeholder = " {{ ctx .Locale.Tr "repo.issues.filter_assignees" }} " >
2021-02-28 15:05:55 +01:00
< / div >
2023-09-25 10:56:50 +02:00
< div class = "no-select item" > {{ ctx .Locale.Tr "repo.issues.new.clear_assignees" }} </ div >
2023-05-29 12:44:03 +02:00
{{ range .Assignees }}
{{ $AssigneeID := .ID }}
< a class = "item {{ range $.Issue.Assignees }}{{ if eq .ID $AssigneeID }} checked {{ end }}{{ end }} " href = "#" data-id = " {{ .ID }} " data-id-selector = "#assignee_ {{ .ID }} " >
{{ $checked := false }}
{{ range $.Issue.Assignees }}
{{ if eq .ID $AssigneeID }}
{{ $checked = true }}
{{ end }}
2020-08-17 05:07:38 +02:00
{{ end }}
2024-03-05 06:29:32 +01:00
< span class = "octicon-check {{ if not $checked }} tw-invisible {{ end }} " > {{ svg "octicon-check" }} </ span >
2023-05-29 12:44:03 +02:00
< span class = "text" >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ ctx .AvatarUtils.Avatar . 20 "tw-mr-2" }}{{ template "repo/search_name" . }}
2023-05-29 12:44:03 +02:00
< / span >
< / a >
{{ end }}
< / div >
< / div >
< div class = "ui assignees list" >
2024-03-24 19:23:38 +01:00
< span class = "no-select item {{ if .Issue.Assignees }} tw-hidden {{ end }} " > {{ ctx .Locale.Tr "repo.issues.new.no_assignees" }} </ span >
2023-05-29 12:44:03 +02:00
< div class = "selected" >
{{ range .Issue.Assignees }}
< div class = "item" >
< a class = "muted sidebar-item-link" href = " {{ $.RepoLink }} / {{ if $.Issue.IsPull }} pulls {{ else }} issues {{ end }} ?assignee= {{ .ID }} " >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ ctx .AvatarUtils.Avatar . 28 "tw-mr-2" }}
2023-05-29 12:44:03 +02:00
{{ .GetDisplayName }}
< / a >
2021-02-28 15:05:55 +01:00
< / div >
2023-05-29 12:44:03 +02:00
{{ end }}
< / div >
< / div >
2020-08-17 05:07:38 +02:00
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2017-03-17 06:57:43 +01:00
2023-05-29 12:44:03 +02:00
{{ if .Participants }}
2024-03-19 12:27:01 +01:00
< span class = "text" >< strong > {{ ctx .Locale.TrN .NumParticipants "repo.issues.num_participants_one" "repo.issues.num_participants_few" .NumParticipants }} </ strong ></ span >
2024-03-22 14:45:10 +01:00
< div class = "ui list tw-flex tw-flex-wrap" >
2023-05-29 12:44:03 +02:00
{{ range .Participants }}
< a {{ if gt .ID 0 }} href = " {{ .HomeLink }} " {{ end }} data-tooltip-content = " {{ .GetDisplayName }} " >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ ctx .AvatarUtils.Avatar . 28 "tw-my-0.5 tw-mr-1" }}
2023-05-29 12:44:03 +02:00
< / a >
{{ end }}
2017-03-17 06:57:43 +01:00
< / div >
2023-05-29 12:44:03 +02:00
{{ end }}
2017-03-17 06:57:43 +01:00
2023-05-29 12:44:03 +02:00
{{ if and $.IssueWatch ( not .Repository.IsArchived ) }}
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2017-03-17 06:57:43 +01:00
2023-05-29 12:44:03 +02:00
< div class = "ui watching" >
2023-09-25 10:56:50 +02:00
< span class = "text" >< strong > {{ ctx .Locale.Tr "notification.notifications" }} </ strong ></ span >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "tw-mt-2" >
2024-01-30 15:45:54 +01:00
{{ template "repo/issue/view_content/watching" . }}
2017-03-17 06:57:43 +01:00
< / div >
2023-05-29 12:44:03 +02:00
< / div >
{{ end }}
{{ if .Repository.IsTimetrackerEnabled $.Context }}
{{ if and .CanUseTimetracker ( not .Repository.IsArchived ) }}
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2023-05-29 12:44:03 +02:00
< div class = "ui timetrack" >
2023-09-25 10:56:50 +02:00
< span class = "text" >< strong > {{ ctx .Locale.Tr "repo.issues.tracker" }} </ strong ></ span >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "tw-mt-2" >
2023-06-14 20:17:58 +02:00
< form method = "post" action = " {{ .Issue.Link }} /times/stopwatch/toggle" id = "toggle_stopwatch_form" >
2017-09-12 08:48:13 +02:00
{{ $.CsrfTokenHtml }}
< / form >
2023-06-14 20:17:58 +02:00
< form method = "post" action = " {{ .Issue.Link }} /times/stopwatch/cancel" id = "cancel_stopwatch_form" >
2023-05-29 12:44:03 +02:00
{{ $.CsrfTokenHtml }}
< / form >
2023-06-14 20:17:58 +02:00
{{ if $.IsStopwatchRunning }}
2023-07-31 00:46:53 +02:00
< button class = "ui fluid button issue-stop-time" >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-stopwatch" 16 "tw-mr-2" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.stop_tracking" }}
2023-07-31 00:46:53 +02:00
< / button >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< button class = "ui fluid button issue-cancel-time tw-mt-2" >
{{ svg "octicon-trash" 16 "tw-mr-2" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.cancel_tracking" }}
2023-07-31 00:46:53 +02:00
< / button >
2023-05-29 12:44:03 +02:00
{{ else }}
{{ if .HasUserStopwatch }}
< div class = "ui warning message" >
2024-02-25 15:02:20 +01:00
{{ ctx .Locale.Tr "repo.issues.tracking_already_started" .OtherStopwatchURL }}
2023-05-29 12:44:03 +02:00
< / div >
{{ end }}
2023-09-25 10:56:50 +02:00
< button class = "ui fluid button issue-start-time" data-tooltip-content = ' {{ ctx .Locale.Tr "repo.issues.start_tracking" }} ' >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-stopwatch" 16 "tw-mr-2" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.start_tracking_short" }}
2023-07-31 00:46:53 +02:00
< / button >
2023-05-29 12:44:03 +02:00
< div class = "ui mini modal issue-start-time-modal" >
2023-09-25 10:56:50 +02:00
< div class = "header" > {{ ctx .Locale.Tr "repo.issues.add_time" }} </ div >
2023-05-29 12:44:03 +02:00
< div class = "content" >
2024-03-24 15:31:35 +01:00
< form method = "post" id = "add_time_manual_form" action = " {{ .Issue.Link }} /times/add" class = "ui input fluid tw-gap-2" >
2023-05-29 12:44:03 +02:00
{{ $.CsrfTokenHtml }}
2023-09-25 10:56:50 +02:00
< input placeholder = ' {{ ctx .Locale.Tr "repo.issues.add_time_hours" }} ' type = "number" name = "hours" >
< input placeholder = ' {{ ctx .Locale.Tr "repo.issues.add_time_minutes" }} ' type = "number" name = "minutes" class = "ui compact" >
2023-05-29 12:44:03 +02:00
< / form >
< / div >
< div class = "actions" >
2023-09-25 10:56:50 +02:00
< button class = "ui primary approve button" > {{ ctx .Locale.Tr "repo.issues.add_time_short" }} </ button >
< button class = "ui cancel button" > {{ ctx .Locale.Tr "repo.issues.add_time_cancel" }} </ button >
2023-05-29 12:44:03 +02:00
< / div >
< / div >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< button class = "ui fluid button issue-add-time tw-mt-2" data-tooltip-content = ' {{ ctx .Locale.Tr "repo.issues.add_time" }} ' >
{{ svg "octicon-plus" 16 "tw-mr-2" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.add_time_short" }}
2023-07-31 00:46:53 +02:00
< / button >
2023-05-29 12:44:03 +02:00
{{ end }}
2017-09-12 08:48:13 +02:00
< / div >
< / div >
{{ end }}
2023-12-04 22:48:42 +01:00
{{ if .WorkingUsers }}
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2023-05-29 12:44:03 +02:00
< div class = "ui comments" >
2024-02-22 18:02:33 +01:00
< span class = "text" >< strong > {{ ctx .Locale.Tr "repo.issues.time_spent_from_all_authors" ( $.Issue.TotalTrackedTime | Sec2Time ) }} </ strong ></ span >
2023-05-29 12:44:03 +02:00
< div >
{{ range $user , $trackedtime := .WorkingUsers }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "comment tw-mt-2" >
2023-05-29 12:44:03 +02:00
< a class = "avatar" >
2023-08-10 05:19:39 +02:00
{{ ctx .AvatarUtils.Avatar $user }}
2023-05-29 12:44:03 +02:00
< / a >
< div class = "content" >
{{ template "shared/user/authorlink" $user }}
< div class = "text" >
2023-06-19 18:40:06 +02:00
{{ $trackedtime | Sec2Time }}
2017-09-12 08:48:13 +02:00
< / div >
< / div >
2023-05-29 12:44:03 +02:00
< / div >
{{ end }}
2017-09-12 08:48:13 +02:00
< / div >
2023-05-29 12:44:03 +02:00
< / div >
{{ end }}
{{ end }}
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2023-09-25 10:56:50 +02:00
< span class = "text" >< strong > {{ ctx .Locale.Tr "repo.issues.due_date" }} </ strong ></ span >
2023-05-29 12:44:03 +02:00
< div class = "ui form" id = "deadline-loader" >
2024-03-24 19:23:38 +01:00
< div class = "ui negative message tw-hidden" id = "deadline-err-invalid-date" >
2023-05-29 12:44:03 +02:00
{{ svg "octicon-x" 16 "close icon" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.due_date_invalid" }}
2023-05-29 12:44:03 +02:00
< / div >
{{ if ne .Issue.DeadlineUnix 0 }}
< p >
2024-03-22 20:51:29 +01:00
< div class = "tw-flex tw-justify-between tw-items-center" >
2023-09-25 10:56:50 +02:00
< div class = "due-date {{ if .Issue.IsOverdue }} text red {{ end }} " {{ if .Issue.IsOverdue }} data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.due_date_overdue" }} " {{ end }} >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-calendar" 16 "tw-mr-2" }}
2023-08-01 16:21:04 +02:00
{{ DateTime "long" .Issue.DeadlineUnix.FormatDate }}
2023-05-29 12:44:03 +02:00
< / div >
2017-09-12 08:48:13 +02:00
< div >
2023-05-29 12:44:03 +02:00
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository.IsArchived ) }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< a class = "issue-due-edit muted" data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.due_date_form_edit" }} " > {{ svg "octicon-pencil" 16 "tw-mr-1" }} </ a >
2023-09-25 10:56:50 +02:00
< a class = "issue-due-remove muted" data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.due_date_form_remove" }} " > {{ svg "octicon-trash" }} </ a >
2017-09-12 08:48:13 +02:00
{{ end }}
< / div >
< / div >
2023-05-29 12:44:03 +02:00
< / p >
{{ else }}
2023-09-25 10:56:50 +02:00
< p > {{ ctx .Locale.Tr "repo.issues.due_date_not_set" }} </ p >
2017-04-29 07:52:25 +02:00
{{ end }}
2018-05-01 21:05:28 +02:00
2023-05-29 12:44:03 +02:00
{{ if and .HasIssuesOrPullsWritePermission ( not .Repository.IsArchived ) }}
2024-03-24 19:23:38 +01:00
< div {{ if ne .Issue.DeadlineUnix 0 }} class = "tw-hidden" {{ end }} id = "deadlineForm" >
2023-05-29 12:44:03 +02:00
< form class = "ui fluid action input issue-due-form" action = " {{ AppSubUrl }} / {{ PathEscape .Repository.Owner.Name }} / {{ PathEscape .Repository.Name }} /issues/ {{ .Issue.Index }} /deadline" method = "post" id = "update-issue-deadline-form" >
{{ $.CsrfTokenHtml }}
2023-12-28 11:09:57 +01:00
< input required placeholder = " {{ ctx .Locale.Tr "repo.issues.due_date_form" }} " {{ if gt .Issue.DeadlineUnix 0 }} value = " {{ .Issue.DeadlineUnix.FormatDate }} " {{ end }} type = "date" name = "deadlineDate" id = "deadlineDate" >
2023-07-31 00:46:53 +02:00
< button class = "ui icon button" >
2023-05-29 12:44:03 +02:00
{{ if ne .Issue.DeadlineUnix 0 }}
{{ svg "octicon-pencil" }}
{{ else }}
{{ svg "octicon-plus" }}
{{ end }}
< / button >
< / form >
2018-07-16 14:43:00 +02:00
< / div >
2023-05-29 12:44:03 +02:00
{{ end }}
< / div >
{{ if .Repository.IsDependenciesEnabled $.Context }}
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2023-05-29 12:44:03 +02:00
< div class = "ui depending" >
{{ if ( and ( not .BlockedByDependencies ) ( not .BlockedByDependenciesNotPermitted ) ( not .BlockingDependencies ) ( not .BlockingDependenciesNotPermitted )) }}
2023-09-25 10:56:50 +02:00
< span class = "text" >< strong > {{ ctx .Locale.Tr "repo.issues.dependency.title" }} </ strong ></ span >
2023-05-29 12:44:03 +02:00
< br >
2018-07-16 14:43:00 +02:00
< p >
2023-05-29 12:44:03 +02:00
{{ if .Issue.IsPull }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.dependency.pr_no_dependencies" }}
2023-05-29 12:44:03 +02:00
{{ else }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.dependency.issue_no_dependencies" }}
2023-05-29 12:44:03 +02:00
{{ end }}
2018-07-16 14:43:00 +02:00
< / p >
{{ end }}
2018-05-01 21:05:28 +02:00
2023-05-29 12:44:03 +02:00
{{ if or .BlockingDependencies .BlockingDependenciesNotPermitted }}
2023-09-25 14:42:40 +02:00
< span class = "text" data-tooltip-content = " {{ if .Issue.IsPull }}{{ ctx .Locale.Tr "repo.issues.dependency.pr_close_blocks" }}{{ else }}{{ ctx .Locale.Tr "repo.issues.dependency.issue_close_blocks" }}{{ end }} " >
2023-09-25 10:56:50 +02:00
< strong > {{ ctx .Locale.Tr "repo.issues.dependency.blocks_short" }} </ strong >
2023-05-29 12:44:03 +02:00
< / span >
< div class = "ui relaxed divided list" >
{{ range .BlockingDependencies }}
2024-03-22 20:51:29 +01:00
< div class = "item dependency {{ if .Issue.IsClosed }} is-closed {{ end }} tw-flex tw-items-center tw-justify-between" >
2024-03-22 14:45:10 +01:00
< div class = "item-left tw-flex tw-justify-center tw-flex-col tw-flex-1 gt-ellipsis" >
2023-07-31 00:46:53 +02:00
< a class = "title muted" href = " {{ .Issue.Link }} " data-tooltip-content = "# {{ .Issue.Index }} {{ .Issue.Title | RenderEmoji $.Context }} " >
2023-05-29 12:44:03 +02:00
#{{ .Issue.Index }} {{ .Issue.Title | RenderEmoji $.Context }}
< / a >
2023-10-10 01:04:31 +02:00
< div class = "text small gt-ellipsis" data-tooltip-content = " {{ .Repository.OwnerName }} / {{ .Repository.Name }} " >
2023-05-29 12:44:03 +02:00
{{ .Repository.OwnerName }} /{{ .Repository.Name }}
< / div >
< / div >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "item-right tw-flex tw-items-center tw-m-1" >
2023-05-29 12:44:03 +02:00
{{ if and $.CanCreateIssueDependencies ( not $.Repository.IsArchived ) }}
2023-09-25 10:56:50 +02:00
< a class = "delete-dependency-button ci muted" data-id = " {{ .Issue.ID }} " data-type = "blocking" data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.dependency.remove_info" }} " >
2023-05-29 12:44:03 +02:00
{{ svg "octicon-trash" 16 }}
< / a >
{{ end }}
< / div >
< / div >
{{ end }}
{{ if .BlockingDependenciesNotPermitted }}
2024-03-22 20:51:29 +01:00
< div class = "item tw-flex tw-items-center tw-justify-between gt-ellipsis" >
2023-09-25 10:56:50 +02:00
< span > {{ ctx .Locale.TrN ( len .BlockingDependenciesNotPermitted ) "repo.issues.dependency.no_permission_1" "repo.issues.dependency.no_permission_n" ( len .BlockingDependenciesNotPermitted ) }} </ span >
2023-05-29 12:44:03 +02:00
< / div >
{{ end }}
2018-07-16 14:43:00 +02:00
< / div >
{{ end }}
2018-07-17 23:23:58 +02:00
2023-05-29 12:44:03 +02:00
{{ if or .BlockedByDependencies .BlockedByDependenciesNotPermitted }}
2023-09-25 14:42:40 +02:00
< span class = "text" data-tooltip-content = " {{ if .Issue.IsPull }}{{ ctx .Locale.Tr "repo.issues.dependency.pr_closing_blockedby" }}{{ else }}{{ ctx .Locale.Tr "repo.issues.dependency.issue_closing_blockedby" }}{{ end }} " >
2023-09-25 10:56:50 +02:00
< strong > {{ ctx .Locale.Tr "repo.issues.dependency.blocked_by_short" }} </ strong >
2023-05-29 12:44:03 +02:00
< / span >
< div class = "ui relaxed divided list" >
{{ range .BlockedByDependencies }}
2024-03-22 20:51:29 +01:00
< div class = "item dependency {{ if .Issue.IsClosed }} is-closed {{ end }} tw-flex tw-items-center tw-justify-between" >
2024-03-22 14:45:10 +01:00
< div class = "item-left tw-flex tw-justify-center tw-flex-col tw-flex-1 gt-ellipsis" >
2023-07-31 00:46:53 +02:00
< a class = "title muted" href = " {{ .Issue.Link }} " data-tooltip-content = "# {{ .Issue.Index }} {{ .Issue.Title | RenderEmoji $.Context }} " >
2023-05-29 12:44:03 +02:00
#{{ .Issue.Index }} {{ .Issue.Title | RenderEmoji $.Context }}
< / a >
2023-10-10 01:04:31 +02:00
< div class = "text small gt-ellipsis" data-tooltip-content = " {{ .Repository.OwnerName }} / {{ .Repository.Name }} " >
2023-05-29 12:44:03 +02:00
{{ .Repository.OwnerName }} /{{ .Repository.Name }}
2018-07-17 23:23:58 +02:00
< / div >
< / div >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "item-right tw-flex tw-items-center tw-m-1" >
2023-05-29 12:44:03 +02:00
{{ if and $.CanCreateIssueDependencies ( not $.Repository.IsArchived ) }}
2023-09-25 10:56:50 +02:00
< a class = "delete-dependency-button ci muted" data-id = " {{ .Issue.ID }} " data-type = "blockedBy" data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.dependency.remove_info" }} " >
2023-05-29 12:44:03 +02:00
{{ svg "octicon-trash" 16 }}
< / a >
{{ end }}
2023-03-28 19:23:25 +02:00
< / div >
2023-05-29 12:44:03 +02:00
< / div >
{{ end }}
{{ if $.CanCreateIssueDependencies }}
{{ range .BlockedByDependenciesNotPermitted }}
2024-03-22 20:51:29 +01:00
< div class = "item dependency {{ if .Issue.IsClosed }} is-closed {{ end }} tw-flex tw-items-center tw-justify-between" >
2024-03-22 14:45:10 +01:00
< div class = "item-left tw-flex tw-justify-center tw-flex-col tw-flex-1 gt-ellipsis" >
2023-10-10 01:04:31 +02:00
< div class = "gt-ellipsis" >
2023-09-25 10:56:50 +02:00
< span data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.dependency.no_permission.can_remove" }} " > {{ svg "octicon-lock" 16 }} </ span >
2023-05-29 12:44:03 +02:00
< span class = "title" data-tooltip-content = "# {{ .Issue.Index }} {{ .Issue.Title | RenderEmoji $.Context }} " >
#{{ .Issue.Index }} {{ .Issue.Title | RenderEmoji $.Context }}
< / span >
< / div >
2023-10-10 01:04:31 +02:00
< div class = "text small gt-ellipsis" data-tooltip-content = " {{ .Repository.OwnerName }} / {{ .Repository.Name }} " >
2020-11-10 19:28:07 +01:00
{{ .Repository.OwnerName }} /{{ .Repository.Name }}
< / div >
< / div >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< div class = "item-right tw-flex tw-items-center tw-m-1" >
Allow cross-repository dependencies on issues (#7901)
* in progress changes for #7405, added ability to add cross-repo dependencies
* removed unused repolink var
* fixed query that was breaking ci tests; fixed check in issue dependency add so that the id of the issue and dependency is checked rather than the indexes
* reverted removal of string in local files becasue these are done via crowdin, not updated manually
* removed 'Select("issue.*")' from getBlockedByDependencies and getBlockingDependencies based on comments in PR review
* changed getBlockedByDependencies and getBlockingDependencies to use a more xorm-like query, also updated the sidebar as a result
* simplified the getBlockingDependencies and getBlockedByDependencies methods; changed the sidebar to show the dependencies in a different format where you can see the name of the repository
* made some changes to the issue view in the dependencies (issue name on top, repo full name on separate line). Change view of issue in the dependency search results (also showing the full repo name on separate line)
* replace call to FindUserAccessibleRepoIDs with SearchRepositoryByName. The former was hardcoded to use isPrivate = false on the repo search, but this code needed it to be true. The SearchRepositoryByName method is used more in the code including on the user's dashboard
* some more tweaks to the layout of the issues when showing dependencies and in the search box when you add new dependencies
* added Name to the RepositoryMeta struct
* updated swagger doc
* fixed total count for link header on SearchIssues
* fixed indentation
* fixed aligment of remove icon on dependencies in issue sidebar
* removed unnecessary nil check (unnecessary because issue.loadRepo is called prior to this block)
* reverting .css change, somehow missed or forgot that less is used
* updated less file and generated css; updated sidebar template with styles to line up delete and issue index
* added ordering to the blocked by/depends on queries
* fixed sorting in issue dependency search and the depends on/blocks views to show issues from the current repo first, then by created date descending; added a "all cross repository dependencies" setting to allow this feature to be turned off, if turned off, the issue dependency search will work the way it did before (restricted to the current repository)
* re-applied my swagger changes after merge
* fixed split string condition in issue search
* changed ALLOW_CROSS_REPOSITORY_DEPENDENCIES description to sound more global than just the issue dependency search; returning 400 in the cross repo issue search api method if not enabled; fixed bug where the issue count did not respect the state parameter
* when adding a dependency to an issue, added a check to make sure the issue and dependency are in the same repo if cross repo dependencies is not enabled
* updated sortIssuesSession call in PullRequests, another commit moved this method from pull.go to pull_list.go so I had to re-apply my change here
* fixed incorrect setting of user id parameter in search repos call
2019-10-31 06:06:10 +01:00
{{ if and $.CanCreateIssueDependencies ( not $.Repository.IsArchived ) }}
2023-09-25 10:56:50 +02:00
< a class = "delete-dependency-button ci muted" data-id = " {{ .Issue.ID }} " data-type = "blocking" data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.dependency.remove_info" }} " >
2021-03-22 05:04:19 +01:00
{{ svg "octicon-trash" 16 }}
2018-07-17 23:23:58 +02:00
< / a >
{{ end }}
< / div >
< / div >
{{ end }}
2023-05-29 12:44:03 +02:00
{{ else if .BlockedByDependenciesNotPermitted }}
2024-03-22 20:51:29 +01:00
< div class = "item tw-flex tw-items-center tw-justify-between gt-ellipsis" >
2023-09-25 10:56:50 +02:00
< span > {{ ctx .Locale.TrN ( len .BlockedByDependenciesNotPermitted ) "repo.issues.dependency.no_permission_1" "repo.issues.dependency.no_permission_n" ( len .BlockedByDependenciesNotPermitted ) }} </ span >
2023-05-29 12:44:03 +02:00
< / div >
{{ end }}
< / div >
{{ end }}
2018-07-17 23:23:58 +02:00
2023-05-29 12:44:03 +02:00
{{ if and .CanCreateIssueDependencies ( not .Repository.IsArchived ) }}
< div >
2023-06-14 20:17:58 +02:00
< form method = "post" action = " {{ .Issue.Link }} /dependency/add" id = "addDependencyForm" >
2023-05-29 12:44:03 +02:00
{{ $.CsrfTokenHtml }}
< div class = "ui fluid action input" >
< div class = "ui search selection dropdown" id = "new-dependency-drop-list" data-issue-id = " {{ .Issue.ID }} " >
< input name = "newDependency" type = "hidden" >
{{ svg "octicon-triangle-down" 14 "dropdown icon" }}
< input type = "text" class = "search" >
2023-09-25 10:56:50 +02:00
< div class = "default text" > {{ ctx .Locale.Tr "repo.issues.dependency.add" }} </ div >
2018-07-17 23:23:58 +02:00
< / div >
2023-07-31 00:46:53 +02:00
< button class = "ui icon button" >
2023-05-29 12:44:03 +02:00
{{ svg "octicon-plus" }}
< / button >
< / div >
< / form >
< / div >
{{ end }}
< / div >
2019-02-18 21:55:04 +01:00
2023-05-29 12:44:03 +02:00
{{ if and .CanCreateIssueDependencies ( not .Repository.IsArchived ) }}
< input type = "hidden" id = "crossRepoSearch" value = " {{ .AllowCrossRepositoryDependencies }} " >
2021-02-28 15:05:55 +01:00
2023-05-29 12:44:03 +02:00
< div class = "ui g-modal-confirm modal remove-dependency" >
< div class = "header" >
{{ svg "octicon-trash" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.dependency.remove_header" }}
2021-02-28 15:05:55 +01:00
< / div >
2023-05-29 12:44:03 +02:00
< div class = "content" >
2023-06-14 20:17:58 +02:00
< form method = "post" action = " {{ .Issue.Link }} /dependency/delete" id = "removeDependencyForm" >
2023-05-29 12:44:03 +02:00
{{ $.CsrfTokenHtml }}
< input type = "hidden" value = "" name = "removeDependencyID" id = "removeDependencyID" >
< input type = "hidden" value = "" name = "dependencyType" id = "dependencyType" >
< / form >
< p > {{ if .Issue.IsPull }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.dependency.pr_remove_text" }}
2023-05-29 12:44:03 +02:00
{{ else }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.dependency.issue_remove_text" }}
2023-05-29 12:44:03 +02:00
{{ end }} </ p >
< / div >
2023-09-25 10:56:50 +02:00
{{ $ModalButtonCancelText := ctx .Locale.Tr "repo.issues.dependency.cancel" }}
{{ $ModalButtonOkText := ctx .Locale.Tr "repo.issues.dependency.remove" }}
2023-05-29 12:44:03 +02:00
{{ template "base/modal_actions_confirm" ( dict "." . "ModalButtonCancelText" $ModalButtonCancelText "ModalButtonOkText" $ModalButtonOkText ) }}
< / div >
2021-02-28 15:05:55 +01:00
{{ end }}
2023-05-29 12:44:03 +02:00
{{ end }}
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2023-05-29 12:44:03 +02:00
< div class = "ui equal width compact grid" >
{{ $issueReferenceLink := printf "%s#%d" .Issue.Repo.FullName .Issue.Index }}
2024-03-22 20:51:29 +01:00
< div class = "row tw-items-center" data-tooltip-content = " {{ $issueReferenceLink }} " >
2023-09-25 10:56:50 +02:00
< span class = "text column truncate" > {{ ctx .Locale.Tr "repo.issues.reference_link" $issueReferenceLink }} </ span >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< button class = "ui two wide button column tw-p-2" data-clipboard-text = " {{ $issueReferenceLink }} " > {{ svg "octicon-copy" 14 }} </ button >
2023-05-29 12:44:03 +02:00
< / div >
< / div >
2021-02-28 15:05:55 +01:00
2023-05-29 12:44:03 +02:00
{{ if and .IsRepoAdmin ( not .Repository.IsArchived ) }}
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2022-05-05 20:58:37 +02:00
2023-05-29 12:44:03 +02:00
{{ if or .PinEnabled .Issue.IsPinned }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< form class = "tw-mt-1 form-fetch-action single-button-form" method = "post" {{ if $.NewPinAllowed }} action = " {{ .Issue.Link }} /pin" {{ else }} data-tooltip-content = " {{ ctx .Locale.Tr "repo.issues.max_pinned" }} " {{ end }} >
2023-05-29 12:44:03 +02:00
{{ $.CsrfTokenHtml }}
2023-06-14 18:40:15 +02:00
< button class = "fluid ui button {{ if not $.NewPinAllowed }} disabled {{ end }} " >
2023-05-29 12:44:03 +02:00
{{ if not .Issue.IsPinned }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-pin" 16 "tw-mr-2" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "pin" }}
2023-05-29 12:44:03 +02:00
{{ else }}
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
{{ svg "octicon-pin-slash" 16 "tw-mr-2" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "unpin" }}
2023-05-29 12:44:03 +02:00
{{ end }}
< / button >
< / form >
{{ end }}
2023-05-25 15:17:19 +02:00
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< button class = "tw-mt-1 fluid ui show-modal button {{ if .Issue.IsLocked }} negative {{ end }} " data-modal = "#lock" >
2023-05-29 12:44:03 +02:00
{{ if .Issue.IsLocked }}
{{ svg "octicon-key" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.unlock" }}
2023-05-29 12:44:03 +02:00
{{ else }}
{{ svg "octicon-lock" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.lock" }}
2023-05-25 15:17:19 +02:00
{{ end }}
2023-05-29 12:44:03 +02:00
< / button >
< div class = "ui tiny modal" id = "lock" >
< div class = "header" >
2023-05-25 15:17:19 +02:00
{{ if .Issue.IsLocked }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.unlock.title" }}
2023-05-25 15:17:19 +02:00
{{ else }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.lock.title" }}
2023-05-25 15:17:19 +02:00
{{ end }}
2023-05-29 12:44:03 +02:00
< / div >
< div class = "content" >
< div class = "ui warning message" >
2022-08-31 17:58:54 +02:00
{{ if .Issue.IsLocked }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.unlock.notice_1" }} < br >
{{ ctx .Locale.Tr "repo.issues.unlock.notice_2" }} < br >
2021-02-28 15:05:55 +01:00
{{ else }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.lock.notice_1" }} < br >
{{ ctx .Locale.Tr "repo.issues.lock.notice_2" }} < br >
{{ ctx .Locale.Tr "repo.issues.lock.notice_3" }} < br >
2021-02-28 15:05:55 +01:00
{{ end }}
2019-02-18 21:55:04 +01:00
< / div >
2023-06-29 06:16:04 +02:00
< form class = "ui form form-fetch-action" action = " {{ .Issue.Link }}{{ if .Issue.IsLocked }} /unlock {{ else }} /lock {{ end }} "
2023-05-29 12:44:03 +02:00
method="post">
{{ .CsrfTokenHtml }}
2019-02-18 21:55:04 +01:00
2023-05-29 12:44:03 +02:00
{{ if not .Issue.IsLocked }}
< div class = "field" >
2023-09-25 10:56:50 +02:00
< strong > {{ ctx .Locale.Tr "repo.issues.lock.reason" }} </ strong >
2023-05-29 12:44:03 +02:00
< / div >
2019-02-18 21:55:04 +01:00
2023-05-29 12:44:03 +02:00
< div class = "field" >
2023-08-26 04:44:00 +02:00
< div class = "ui fluid dropdown selection" >
2019-02-18 21:55:04 +01:00
2023-05-29 12:44:03 +02:00
< select name = "reason" >
< option value = "" > < / option >
{{ range .LockReasons }}
< option value = " {{ . }} " > {{ . }} </ option >
{{ end }}
< / select >
{{ svg "octicon-triangle-down" 14 "dropdown icon" }}
2019-02-18 21:55:04 +01:00
2023-05-29 12:44:03 +02:00
< div class = "default text" > < / div >
2019-02-18 21:55:04 +01:00
2023-05-29 12:44:03 +02:00
< div class = "menu" >
{{ range .LockReasons }}
< div class = "item" data-value = " {{ . }} " > {{ . }} </ div >
{{ end }}
2021-02-28 15:05:55 +01:00
< / div >
2019-02-18 21:55:04 +01:00
< / div >
2021-03-21 19:58:28 +01:00
< / div >
2023-05-29 12:44:03 +02:00
{{ end }}
< div class = "text right actions" >
2023-09-25 10:56:50 +02:00
< button class = "ui cancel button" > {{ ctx .Locale.Tr "settings.cancel" }} </ button >
2023-05-29 12:44:03 +02:00
< button class = "ui red button" >
{{ if .Issue.IsLocked }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.unlock_confirm" }}
2023-05-29 12:44:03 +02:00
{{ else }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.lock_confirm" }}
2023-05-29 12:44:03 +02:00
{{ end }}
< / button >
< / div >
< / form >
2018-07-17 23:23:58 +02:00
< / div >
2023-05-29 12:44:03 +02:00
< / div >
Migrate margin and padding helpers to tailwind (#30043)
This will conclude the refactor of 1:1 class replacements to tailwind,
except `gt-hidden`. Commands ran:
```bash
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-0#tw-$1$2-0#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-1#tw-$1$2-0.5#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-2#tw-$1$2-1#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-3#tw-$1$2-2#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-4#tw-$1$2-4#g' {web_src/js,templates,routers,services}/**/*
perl -p -i -e 's#gt-(p|m)([lrtbxy])?-5#tw-$1$2-8#g' {web_src/js,templates,routers,services}/**/*
```
(cherry picked from commit 68ec9b48592fe88765bcc3a73093d43c98b315de)
Conflicts:
routers/web/repo/view.go
templates/base/head_navbar.tmpl
templates/repo/code/recently_pushed_new_branches.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/compare.tmpl
templates/repo/diff/conversation.tmpl
templates/repo/header.tmpl
templates/repo/issue/filter_list.tmpl
templates/repo/issue/view_content/conversation.tmpl
templates/repo/issue/view_content/sidebar.tmpl
templates/repo/settings/options.tmpl
templates/repo/view_file.tmpl
templates/shared/user/blocked_users.tmpl
templates/status/500.tmpl
web_src/js/components/DashboardRepoList.vue
resolved by prefering Forgejo version and applying the
commands to all files
2024-03-24 17:42:49 +01:00
< button class = "tw-mt-1 fluid ui show-modal button" data-modal = "#sidebar-delete-issue" >
2023-05-29 12:44:03 +02:00
{{ svg "octicon-trash" }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.delete" }}
2023-05-29 12:44:03 +02:00
< / button >
2023-09-11 19:06:05 +02:00
< div class = "ui g-modal-confirm modal" id = "sidebar-delete-issue" >
2023-05-29 12:44:03 +02:00
< div class = "header" >
{{ if .Issue.IsPull }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.pulls.delete.title" }}
2023-05-29 12:44:03 +02:00
{{ else }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.delete.title" }}
2023-05-29 12:44:03 +02:00
{{ end }}
< / div >
< div class = "content" >
< p >
2022-06-19 12:05:15 +02:00
{{ if .Issue.IsPull }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.pulls.delete.text" }}
2022-06-19 12:05:15 +02:00
{{ else }}
2023-09-25 10:56:50 +02:00
{{ ctx .Locale.Tr "repo.issues.delete.text" }}
2022-06-19 12:05:15 +02:00
{{ end }}
2023-05-29 12:44:03 +02:00
< / p >
2022-03-09 01:38:11 +01:00
< / div >
2023-05-29 12:44:03 +02:00
< form action = " {{ .Issue.Link }} /delete" method = "post" >
{{ .CsrfTokenHtml }}
{{ template "base/modal_actions_confirm" . }}
< / form >
< / div >
{{ end }}
2022-04-28 17:45:33 +02:00
2023-05-29 12:44:03 +02:00
{{ if and .Issue.IsPull .IsIssuePoster ( not .Issue.IsClosed ) .Issue.PullRequest.HeadRepo }}
{{ if and ( not ( eq .Issue.PullRequest.HeadRepo.FullName .Issue.PullRequest.BaseRepo.FullName )) .CanWriteToHeadRepo }}
2023-06-29 14:24:22 +02:00
< div class = "divider" > < / div >
2023-05-29 12:44:03 +02:00
< div class = "inline field" >
2024-03-31 18:06:06 +02:00
< div class = "ui checkbox loading-icon-2px" id = "allow-edits-from-maintainers"
2023-05-29 12:44:03 +02:00
data-url="{{ .Issue.Link }} "
2023-09-25 10:56:50 +02:00
data-tooltip-content="{{ ctx .Locale.Tr "repo.pulls.allow_edits_from_maintainers_desc" }} "
data-prompt-error="{{ ctx .Locale.Tr "repo.pulls.allow_edits_from_maintainers_err" }} "
2023-05-29 12:44:03 +02:00
>
2023-09-25 10:56:50 +02:00
< label >< strong > {{ ctx .Locale.Tr "repo.pulls.allow_edits_from_maintainers" }} </ strong ></ label >
2023-05-29 12:44:03 +02:00
< input type = "checkbox" {{ if .Issue.PullRequest.AllowMaintainerEdit }} checked {{ end }} >
2022-04-28 17:45:33 +02:00
< / div >
2023-05-29 12:44:03 +02:00
< / div >
2022-04-28 17:45:33 +02:00
{{ end }}
2023-05-29 12:44:03 +02:00
{{ end }}
2021-02-28 15:05:55 +01:00
< / div >