@ -1,14 +1,12 @@
{{ $ canWriteProject : = and .CanWriteProjects ( or ( not .Repository ) ( not .Repository .IsArchived ) ) }}
{{ $ canWriteProject : = and .CanWriteProjects ( or ( not .Repository ) ( not .Repository .IsArchived ) ) }}
<div class="ui container tw-max-w-full">
<div class="ui container tw-max-w-full">
<div class=" tw-flex tw-justify-between tw-items-center tw-mb-4 tw-gap-3 ">
<div class=" flex-text-block tw-flex-wrap tw-mb-4 ">
<h2 class="tw-mb-0 tw-flex-1 tw-break-anywhere ">{{ .Project .Title }} </h2>
<h2 class="tw-mb-0 ">{{ .Project .Title }} </h2>
<div class="project-toolbar-right" >
<div class="tw-flex-1"></div >
<div class="ui secondary filter menu labels ">
<div class="ui secondary menu tw-m-0 ">
{{ $ queryLink : = QueryBuild "?" "labels" .SelectLabels "assignee" $ .AssigneeID "archived_labels" ( Iif $ .ShowArchivedLabels "true" ) }}
{{ $ queryLink : = QueryBuild "?" "labels" .SelectLabels "assignee" $ .AssigneeID "archived_labels" ( Iif $ .ShowArchivedLabels "true" ) }}
{{ template "repo/issue/filter_item_label" dict "Labels" .Labels "QueryLink" $ queryLink "SupportArchivedLabel" true }}
{{ template "repo/issue/filter_item_label" dict "Labels" .Labels "QueryLink" $ queryLink "SupportArchivedLabel" true }}
{{ template "repo/issue/filter_item_user_assign" dict
{{ template "repo/issue/filter_item_user_assign" dict
"QueryParamKey" "assignee"
"QueryParamKey" "assignee"
"QueryLink" $queryLink
"QueryLink" $queryLink
@ -19,7 +17,6 @@
"TextFilterMatchAny" (ctx.Locale.Tr "repo.issues.filter_assignee_any_assignee")
"TextFilterMatchAny" (ctx.Locale.Tr "repo.issues.filter_assignee_any_assignee")
}}
}}
</div>
</div>
</div>
{{ if $ canWriteProject }}
{{ if $ canWriteProject }}
<div class="ui compact mini menu">
<div class="ui compact mini menu">
<a class="item" href=" {{ .Link }} /edit?redirect=project">
<a class="item" href=" {{ .Link }} /edit?redirect=project">