Skip to content

Commit e8ddbc9

Browse files
committed
rename IsTippy into IsPopup
1 parent 6c38900 commit e8ddbc9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

templates/repo/commit_statuses.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
{{template "repo/pulls/status" (dict
1313
"CommitStatuses" .Statuses
1414
"CommitStatus" .Status
15-
"IsTippy" true
15+
"IsPopup" true
1616
"is_context_required" .root.is_context_required
1717
)}}
1818
</div>

templates/repo/pulls/status.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
Template Attributes:
33
* CommitStatus: summary of all commit status state
44
* CommitStatuses: all commit status elements
5-
* IsTippy: whether this template is the content of tippy
5+
* IsPopup: whether this template is in a popup
66
* is_context_required: Used in pull request commit status check table
77
*/}}
88

99
{{if .CommitStatus}}
10-
<div class="{{if .IsTippy}}tippy-commit-status{{else}}pr-commit-status{{end}}">
10+
<div class="{{if .IsPopup}}tippy-commit-status{{else}}pr-commit-status{{end}}">
1111
<div class="ui attached header top">
1212
{{if eq .CommitStatus.State "pending"}}
1313
{{ctx.Locale.Tr "repo.pulls.status_checking"}}
@@ -23,7 +23,7 @@ Template Attributes:
2323
{{ctx.Locale.Tr "repo.pulls.status_checking"}}
2424
{{end}}
2525

26-
{{if not .IsTippy}}
26+
{{if not .IsPopup}}
2727
<div class="ui right">
2828
<a class="hide-all-checks muted"
2929
data-show-all="{{ctx.Locale.Tr "repo.pulls.status_checks_show_all"}}"

0 commit comments

Comments
 (0)