Skip to content

Commit c46f825

Browse files
committed
octicon-sync -> gitea-sync
1 parent d3d349f commit c46f825

File tree

15 files changed

+20
-14
lines changed

15 files changed

+20
-14
lines changed

public/assets/img/svg/gitea-sync.svg

Lines changed: 1 addition & 0 deletions
Loading

templates/package/content/arch.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ SigLevel = Optional TrustAll
99
Server = <origin-url data-url="{{AppSubUrl}}/api/packages/{{.PackageDescriptor.Owner.Name}}/arch/$repo/$arch"></origin-url></code></pre></div>
1010
</div>
1111
<div class="field">
12-
<label>{{svg "octicon-sync"}} {{ctx.Locale.Tr "packages.arch.install"}}</label>
12+
<label>{{svg "gitea-sync"}} {{ctx.Locale.Tr "packages.arch.install"}}</label>
1313
<div class="markup"><pre class="code-block"><code>pacman -Sy {{.PackageDescriptor.Package.LowerName}}</code></pre></div>
1414
</div>
1515
<div class="field">

templates/repo/issue/label_precolors.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="precolors">
22
<button type="button" class="ui button generate-random-color">
3-
{{svg "octicon-sync"}}
3+
{{svg "gitea-sync"}}
44
</button>
55
<div>
66
<div class="tw-flex">

templates/repo/issue/sidebar/reviewer_list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<a href="#" class="ui muted icon link-action"
7878
data-tooltip-content="{{ctx.Locale.Tr "repo.issues.re_request_review"}}"
7979
data-url="{{$pageMeta.RepoLink}}/issues/request_review?action=attach&issue_ids={{$pageMeta.Issue.ID}}&id={{.ItemID}}">
80-
{{svg "octicon-sync"}}
80+
{{svg "gitea-sync"}}
8181
</a>
8282
{{end}}
8383
{{end}}

templates/repo/issue/view_content/pull_merge_box.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
{{template "repo/issue/view_content/update_branch_by_merge" $}}
103103
{{else if .Issue.PullRequest.IsChecking}}
104104
<div class="item">
105-
{{svg "octicon-sync" 16 "circular-spin"}}
105+
{{svg "gitea-sync" 16 "circular-spin"}}
106106
{{ctx.Locale.Tr "repo.pulls.is_checking"}}
107107
</div>
108108
{{else if .Issue.PullRequest.IsAncestor}}

templates/repo/settings/options.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@
229229
{{$.CsrfTokenHtml}}
230230
<input type="hidden" name="action" value="push-mirror-sync">
231231
<input type="hidden" name="push_mirror_id" value="{{.ID}}">
232-
<button class="ui primary tiny button" data-tooltip-content="{{ctx.Locale.Tr "repo.settings.sync_mirror"}}">{{svg "octicon-sync" 14}}</button>
232+
<button class="ui primary tiny button" data-tooltip-content="{{ctx.Locale.Tr "repo.settings.sync_mirror"}}">{{svg "gitea-sync" 14}}</button>
233233
</form>
234234
<form method="post" class="tw-inline-block">
235235
{{$.CsrfTokenHtml}}

templates/repo/settings/webhook/history.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
<form class="tw-py-2" action="{{$.Link}}/replay/{{.UUID}}" method="post">
5555
{{$.CsrfTokenHtml}}
5656
<span data-tooltip-content="{{if $.Webhook.IsActive}}{{ctx.Locale.Tr "repo.settings.webhook.replay.description"}}{{else}}{{ctx.Locale.Tr "repo.settings.webhook.replay.description_disabled"}}{{end}}">
57-
<button class="ui tiny button tw-mr-0{{if not $.Webhook.IsActive}} disabled{{end}}">{{svg "octicon-sync"}}</button>
57+
<button class="ui tiny button tw-mr-0{{if not $.Webhook.IsActive}} disabled{{end}}">{{svg "gitea-sync"}}</button>
5858
</span>
5959
</form>
6060
</div>

web_src/css/modules/animations.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,8 +116,6 @@ code.language-math.is-loading::after {
116116
animation-timing-function: ease-in-out;
117117
}
118118

119-
/* FIXME: `octicon-sync` is counterclockwise, so this animation is also counterclockwise, it looks somewhat strange.
120-
Ideally in the future we should use a better image for clockwise animation. */
121119
.circular-spin {
122120
animation: circular-spin-keyframes 1s linear infinite;
123121
}

web_src/js/components/RepoActionView.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ export default defineComponent({
520520
<span class="job-brief-name tw-mx-2 gt-ellipsis">{{ job.name }}</span>
521521
</div>
522522
<span class="job-brief-item-right">
523-
<SvgIcon name="octicon-sync" role="button" :data-tooltip-content="locale.rerun" class="job-brief-rerun tw-mx-2 link-action" :data-url="`${run.link}/jobs/${index}/rerun`" v-if="job.canRerun"/>
523+
<SvgIcon name="gitea-sync" role="button" :data-tooltip-content="locale.rerun" class="job-brief-rerun tw-mx-2 link-action" :data-url="`${run.link}/jobs/${index}/rerun`" v-if="job.canRerun"/>
524524
<span class="step-summary-duration">{{ job.duration }}</span>
525525
</span>
526526
</a>
@@ -608,7 +608,7 @@ export default defineComponent({
608608
<!-- If the job is done and the job step log is loaded for the first time, show the loading icon
609609
currentJobStepsStates[i].cursor === null means the log is loaded for the first time
610610
-->
611-
<SvgIcon v-if="isDone(run.status) && currentJobStepsStates[i].expanded && currentJobStepsStates[i].cursor === null" name="octicon-sync" class="tw-mr-2 circular-spin"/>
611+
<SvgIcon v-if="isDone(run.status) && currentJobStepsStates[i].expanded && currentJobStepsStates[i].cursor === null" name="gitea-sync" class="tw-mr-2 circular-spin"/>
612612
<SvgIcon v-else :name="currentJobStepsStates[i].expanded ? 'octicon-chevron-down': 'octicon-chevron-right'" :class="['tw-mr-2', !isExpandable(jobStep.status) && 'tw-invisible']"/>
613613
<ActionRunStatus :status="jobStep.status" class="tw-mr-2"/>
614614

web_src/js/components/RepoCodeFrequency.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ const options: ChartOptions<'line'> = {
150150
<div class="tw-flex ui segment main-graph">
151151
<div v-if="isLoading || errorText !== ''" class="tw-m-auto">
152152
<div v-if="isLoading">
153-
<SvgIcon name="octicon-sync" class="tw-mr-2 circular-spin"/>
153+
<SvgIcon name="gitea-sync" class="tw-mr-2 circular-spin"/>
154154
{{ locale.loadingInfo }}
155155
</div>
156156
<div v-else class="text red">

0 commit comments

Comments
 (0)