Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromgo-gitea/gitea

Commita70394a

Browse files
DrMaxNixGiteaBot
authored andcommitted
Change project default column icon to 'star' (go-gitea#35967)
Consistently use a `star` icon to highlight the default column of aproject.The icon is both shown while viewing the project, as well as whilechanging the default status of this column.<img width="1065" height="370" alt="image"src="https://github.com/user-attachments/assets/1ca5773d-8eec-4b90-ad0b-22b1f4bd4cfd"/>
1 parent1b01d6d commita70394a

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

‎options/locale/locale_en-US.ini‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1481,6 +1481,7 @@ projects.column.new_submit = "Create Column"
14811481
projects.column.new ="New Column"
14821482
projects.column.set_default ="Set Default"
14831483
projects.column.set_default_desc ="Set this column as default for uncategorized issues and pulls"
1484+
projects.column.default_column_hint ="New issues added to this project will be added to this column"
14841485
projects.column.delete ="Delete Column"
14851486
projects.column.deletion_desc ="Deleting a project column moves all related issues to the default column. Continue?"
14861487
projects.column.color ="Color"

‎templates/projects/view.tmpl‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,9 @@
7878
<div class="ui circular label project-column-issue-count">
7979
{{.NumIssues}}
8080
</div>
81-
<div class="project-column-title-text gt-ellipsis">{{.Title}}</div>
81+
<div class="project-column-title-text flex-text-inline gt-ellipsis" {{if .Default}}data-tooltip-content="{{ctx.Locale.Tr "repo.projects.column.default_column_hint"}}"{{end}}>
82+
{{if .Default}}{{svg "octicon-star"}} {{end}}{{.Title}}
83+
</div>
8284
{{if $canWriteProject}}
8385
<div class="ui dropdown tw-p-1">
8486
{{svg "octicon-kebab-horizontal"}}
@@ -98,7 +100,7 @@
98100
data-modal-confirm-header="{{ctx.Locale.Tr "repo.projects.column.set_default"}}"
99101
data-modal-confirm-content="{{ctx.Locale.Tr "repo.projects.column.set_default_desc"}}"
100102
>
101-
{{svg "octicon-pin"}} {{ctx.Locale.Tr "repo.projects.column.set_default"}}
103+
{{svg "octicon-star"}} {{ctx.Locale.Tr "repo.projects.column.set_default"}}
102104
</a>
103105
<a class="item button link-action" data-url="{{$.Link}}/{{.ID}}" data-link-action-method="DELETE"
104106
data-modal-confirm-header="{{ctx.Locale.Tr "repo.projects.column.delete"}}"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp