Skip to content

Commit b1a8900

Browse files
committed
Add tooltip hint for default projects column
1 parent 88ed78e commit b1a8900

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

options/locale/locale_en-US.ini

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

templates/projects/view.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@
7878
<div class="ui circular label project-column-issue-count">
7979
{{.NumIssues}}
8080
</div>
81-
<div class="project-column-title-text flex-text-inline gt-ellipsis">
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}}>
8282
{{if .Default}}{{svg "octicon-star"}} {{end}}{{.Title}}
8383
</div>
8484
{{if $canWriteProject}}

0 commit comments

Comments
 (0)