mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Remove last traces of has-emoji class (#11263)
Now that emojify.js has been removed, get rid of all instances of has-emoji class that was only used for that. Support for rendering shortcodes should remain in all of these places so it should still work the same. Co-authored-by: 6543 <6543@obermui.de> Co-authored-by: Lauris BH <lauris@nix.lv>
This commit is contained in:
		| @@ -284,6 +284,8 @@ func RenderDescriptionHTML( | |||||||
| 		urlPrefix: urlPrefix, | 		urlPrefix: urlPrefix, | ||||||
| 		procs: []processor{ | 		procs: []processor{ | ||||||
| 			descriptionLinkProcessor, | 			descriptionLinkProcessor, | ||||||
|  | 			emojiShortCodeProcessor, | ||||||
|  | 			emojiProcessor, | ||||||
| 		}, | 		}, | ||||||
| 	} | 	} | ||||||
| 	return ctx.postProcess(rawHTML) | 	return ctx.postProcess(rawHTML) | ||||||
|   | |||||||
| @@ -865,8 +865,8 @@ issues.label_templates.info = No labels exist yet. Create a label with 'New Labe | |||||||
| issues.label_templates.helper = Select a label set | issues.label_templates.helper = Select a label set | ||||||
| issues.label_templates.use = Use Label Set | issues.label_templates.use = Use Label Set | ||||||
| issues.label_templates.fail_to_load_file = Failed to load label template file '%s': %v | issues.label_templates.fail_to_load_file = Failed to load label template file '%s': %v | ||||||
| issues.add_label_at = added the <div class="ui label has-emoji" style="color: %s\; background-color: %s">%s</div> label %s | issues.add_label_at = added the <div class="ui label" style="color: %s\; background-color: %s">%s</div> label %s | ||||||
| issues.remove_label_at = removed the <div class="ui label has-emoji" style="color: %s\; background-color: %s">%s</div> label %s | issues.remove_label_at = removed the <div class="ui label" style="color: %s\; background-color: %s">%s</div> label %s | ||||||
| issues.add_milestone_at = `added this to the <b>%s</b> milestone %s` | issues.add_milestone_at = `added this to the <b>%s</b> milestone %s` | ||||||
| issues.change_milestone_at = `modified the milestone from <b>%s</b> to <b>%s</b> %s` | issues.change_milestone_at = `modified the milestone from <b>%s</b> to <b>%s</b> %s` | ||||||
| issues.remove_milestone_at = `removed this from the <b>%s</b> milestone %s` | issues.remove_milestone_at = `removed this from the <b>%s</b> milestone %s` | ||||||
|   | |||||||
| @@ -29,7 +29,7 @@ | |||||||
| 				</div> | 				</div> | ||||||
| 			</div> | 			</div> | ||||||
| 			<div class="description"> | 			<div class="description"> | ||||||
| 				{{if .DescriptionHTML}}<p class="has-emoji">{{.DescriptionHTML}}</p>{{end}} | 				{{if .DescriptionHTML}}<p>{{.DescriptionHTML}}</p>{{end}} | ||||||
| 				{{if .Topics }} | 				{{if .Topics }} | ||||||
| 					<div class="ui tags"> | 					<div class="ui tags"> | ||||||
| 					{{range .Topics}} | 					{{range .Topics}} | ||||||
|   | |||||||
| @@ -129,7 +129,7 @@ | |||||||
| 						<div class="ui green label">{{$.i18n.Tr "repo.activity.published_release_label"}}</div> | 						<div class="ui green label">{{$.i18n.Tr "repo.activity.published_release_label"}}</div> | ||||||
| 						{{.TagName}} | 						{{.TagName}} | ||||||
| 						{{if not .IsTag}} | 						{{if not .IsTag}} | ||||||
| 							<a class="title has-emoji" href="{{$.RepoLink}}/src/{{.TagName | EscapePound}}">{{.Title}}</a> | 							<a class="title" href="{{$.RepoLink}}/src/{{.TagName | EscapePound}}">{{.Title | RenderEmoji}}</a> | ||||||
| 						{{end}} | 						{{end}} | ||||||
| 						{{TimeSinceUnix .CreatedUnix $.Lang}} | 						{{TimeSinceUnix .CreatedUnix $.Lang}} | ||||||
| 					</p> | 					</p> | ||||||
| @@ -146,7 +146,7 @@ | |||||||
| 				{{range .Activity.MergedPRs}} | 				{{range .Activity.MergedPRs}} | ||||||
| 					<p class="desc"> | 					<p class="desc"> | ||||||
| 						<div class="ui purple label">{{$.i18n.Tr "repo.activity.merged_prs_label"}}</div> | 						<div class="ui purple label">{{$.i18n.Tr "repo.activity.merged_prs_label"}}</div> | ||||||
| 						#{{.Index}} <a class="title has-emoji" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Issue.Title}}</a> | 						#{{.Index}} <a class="title" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Issue.Title | RenderEmoji}}</a> | ||||||
| 						{{TimeSinceUnix .MergedUnix $.Lang}} | 						{{TimeSinceUnix .MergedUnix $.Lang}} | ||||||
| 					</p> | 					</p> | ||||||
| 				{{end}} | 				{{end}} | ||||||
| @@ -162,7 +162,7 @@ | |||||||
| 				{{range .Activity.OpenedPRs}} | 				{{range .Activity.OpenedPRs}} | ||||||
| 					<p class="desc"> | 					<p class="desc"> | ||||||
| 						<div class="ui green label">{{$.i18n.Tr "repo.activity.opened_prs_label"}}</div> | 						<div class="ui green label">{{$.i18n.Tr "repo.activity.opened_prs_label"}}</div> | ||||||
| 						#{{.Index}} <a class="title has-emoji" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Issue.Title}}</a> | 						#{{.Index}} <a class="title" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Issue.Title | RenderEmoji}}</a> | ||||||
| 						{{TimeSinceUnix .Issue.CreatedUnix $.Lang}} | 						{{TimeSinceUnix .Issue.CreatedUnix $.Lang}} | ||||||
| 					</p> | 					</p> | ||||||
| 				{{end}} | 				{{end}} | ||||||
| @@ -178,7 +178,7 @@ | |||||||
| 				{{range .Activity.ClosedIssues}} | 				{{range .Activity.ClosedIssues}} | ||||||
| 					<p class="desc"> | 					<p class="desc"> | ||||||
| 						<div class="ui red label">{{$.i18n.Tr "repo.activity.closed_issue_label"}}</div> | 						<div class="ui red label">{{$.i18n.Tr "repo.activity.closed_issue_label"}}</div> | ||||||
| 						#{{.Index}} <a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a> | 						#{{.Index}} <a class="title" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title | RenderEmoji}}</a> | ||||||
| 						{{TimeSinceUnix .ClosedUnix $.Lang}} | 						{{TimeSinceUnix .ClosedUnix $.Lang}} | ||||||
| 					</p> | 					</p> | ||||||
| 				{{end}} | 				{{end}} | ||||||
| @@ -194,7 +194,7 @@ | |||||||
| 				{{range .Activity.OpenedIssues}} | 				{{range .Activity.OpenedIssues}} | ||||||
| 					<p class="desc"> | 					<p class="desc"> | ||||||
| 						<div class="ui green label">{{$.i18n.Tr "repo.activity.new_issue_label"}}</div> | 						<div class="ui green label">{{$.i18n.Tr "repo.activity.new_issue_label"}}</div> | ||||||
| 						#{{.Index}} <a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a> | 						#{{.Index}} <a class="title" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title | RenderEmoji}}</a> | ||||||
| 						{{TimeSinceUnix .CreatedUnix $.Lang}} | 						{{TimeSinceUnix .CreatedUnix $.Lang}} | ||||||
| 					</p> | 					</p> | ||||||
| 				{{end}} | 				{{end}} | ||||||
| @@ -215,9 +215,9 @@ | |||||||
| 						<div class="ui green label">{{$.i18n.Tr "repo.activity.unresolved_conv_label"}}</div> | 						<div class="ui green label">{{$.i18n.Tr "repo.activity.unresolved_conv_label"}}</div> | ||||||
| 						#{{.Index}} | 						#{{.Index}} | ||||||
| 						{{if .IsPull}} | 						{{if .IsPull}} | ||||||
| 						<a class="title has-emoji" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Title}}</a> | 						<a class="title" href="{{$.RepoLink}}/pulls/{{.Index}}">{{.Title | RenderEmoji}}</a> | ||||||
| 						{{else}} | 						{{else}} | ||||||
| 						<a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a> | 						<a class="title" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title | RenderEmoji}}</a> | ||||||
| 						{{end}} | 						{{end}} | ||||||
| 						{{TimeSinceUnix .UpdatedUnix $.Lang}} | 						{{TimeSinceUnix .UpdatedUnix $.Lang}} | ||||||
| 					</p> | 					</p> | ||||||
|   | |||||||
| @@ -34,7 +34,7 @@ | |||||||
| 	</h4> | 	</h4> | ||||||
|  |  | ||||||
|     <div class="ui attached table unstackable segment"> |     <div class="ui attached table unstackable segment"> | ||||||
|         <div class="file-view code-view has-emoji"> |         <div class="file-view code-view"> | ||||||
|             <table> |             <table> | ||||||
|                 <tbody> |                 <tbody> | ||||||
|                     <tr> |                     <tr> | ||||||
|   | |||||||
| @@ -74,10 +74,10 @@ | |||||||
| 						<td class="message"> | 						<td class="message"> | ||||||
| 							<span class="message-wrapper"> | 							<span class="message-wrapper"> | ||||||
| 							{{if $.PageIsWiki}} | 							{{if $.PageIsWiki}} | ||||||
| 								<span class="commit-summary has-emoji{{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{.Summary}}</span> | 								<span class="commit-summary {{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{.Summary | RenderEmoji}}</span> | ||||||
| 							{{else }} | 							{{else }} | ||||||
| 								{{ $commitLink:= printf "%s/%s/%s/commit/%s" AppSubUrl $.Username $.Reponame .ID }} | 								{{ $commitLink:= printf "%s/%s/%s/commit/%s" AppSubUrl $.Username $.Reponame .ID }} | ||||||
| 								<span class="commit-summary has-emoji{{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{RenderCommitMessageLinkSubject .Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span> | 								<span class="commit-summary {{if gt .ParentCount 1}} grey text{{end}}" title="{{.Summary}}">{{RenderCommitMessageLinkSubject .Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span> | ||||||
| 							{{end}} | 							{{end}} | ||||||
| 							</span> | 							</span> | ||||||
| 							{{if IsMultilineCommitMessage .Message}} | 							{{if IsMultilineCommitMessage .Message}} | ||||||
|   | |||||||
| @@ -35,7 +35,7 @@ | |||||||
| 			</div> | 			</div> | ||||||
| 		</div> | 		</div> | ||||||
| 		<div class="ui attached segment"> | 		<div class="ui attached segment"> | ||||||
| 			<div class="render-content markdown has-emoji"> | 			<div class="render-content markdown"> | ||||||
| 			{{if .RenderedContent}} | 			{{if .RenderedContent}} | ||||||
| 				{{.RenderedContent|Str2html}} | 				{{.RenderedContent|Str2html}} | ||||||
| 			{{else}} | 			{{else}} | ||||||
|   | |||||||
| @@ -24,7 +24,7 @@ | |||||||
| 		    <a href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.Rev}}">{{ .ShortRev}}</a> | 		    <a href="{{AppSubUrl}}/{{$.Username}}/{{$.Reponame}}/commit/{{.Rev}}">{{ .ShortRev}}</a> | ||||||
| 		  </code> | 		  </code> | ||||||
| 		  <strong> {{.Branch}}</strong> | 		  <strong> {{.Branch}}</strong> | ||||||
| 		  <span class="has-emoji">{{RenderCommitMessage .Subject $.RepoLink $.Repository.ComposeMetas}}</span> by | 		  <span>{{RenderCommitMessage .Subject $.RepoLink $.Repository.ComposeMetas}}</span> by | ||||||
| 		  <span class="author"> | 		  <span class="author"> | ||||||
| 		    {{.Author}} | 		    {{.Author}} | ||||||
| 		  </span> | 		  </span> | ||||||
|   | |||||||
| @@ -5,7 +5,7 @@ | |||||||
| 		{{template "base/alert" .}} | 		{{template "base/alert" .}} | ||||||
| 		<div class="ui repo-description"> | 		<div class="ui repo-description"> | ||||||
| 			<div id="repo-desc"> | 			<div id="repo-desc"> | ||||||
| 				{{if .Repository.DescriptionHTML}}<span class="description has-emoji">{{.Repository.DescriptionHTML}}</span>{{else if .IsRepositoryAdmin}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}} | 				{{if .Repository.DescriptionHTML}}<span class="description">{{.Repository.DescriptionHTML}}</span>{{else if .IsRepositoryAdmin}}<span class="no-description text-italic">{{.i18n.Tr "repo.no_desc"}}</span>{{end}} | ||||||
| 				<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a> | 				<a class="link" href="{{.Repository.Website}}">{{.Repository.Website}}</a> | ||||||
| 			</div> | 			</div> | ||||||
| 			{{if .RepoSearchEnabled}} | 			{{if .RepoSearchEnabled}} | ||||||
|   | |||||||
| @@ -31,11 +31,11 @@ | |||||||
| 			<li class="item"> | 			<li class="item"> | ||||||
| 			<div class="ui grid middle aligned"> | 			<div class="ui grid middle aligned"> | ||||||
| 				<div class="four wide column"> | 				<div class="four wide column"> | ||||||
| 					<div class="ui label" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{svg "octicon-tag" 16}} {{.Name | RenderEmojiPlain}}</div> | 					<div class="ui label" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{svg "octicon-tag" 16}} {{.Name | RenderEmoji}}</div> | ||||||
| 				</div> | 				</div> | ||||||
| 				<div class="six wide column"> | 				<div class="six wide column"> | ||||||
| 					<div class="ui has-emoji"> | 					<div class="ui"> | ||||||
| 					{{.Description}} | 					{{.Description | RenderEmoji}} | ||||||
| 					</div> | 					</div> | ||||||
| 				</div> | 				</div> | ||||||
| 				<div class="three wide column"> | 				<div class="three wide column"> | ||||||
| @@ -74,11 +74,11 @@ | |||||||
| 					<li class="item"> | 					<li class="item"> | ||||||
| 					<div class="ui grid middle aligned"> | 					<div class="ui grid middle aligned"> | ||||||
| 						<div class="three wide column"> | 						<div class="three wide column"> | ||||||
| 							<div class="ui label" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{svg "octicon-tag" 16}} {{.Name | RenderEmojiPlain}}</div> | 							<div class="ui label" style="color: {{.ForegroundColor}}; background-color: {{.Color}}">{{svg "octicon-tag" 16}} {{.Name | RenderEmoji}}</div> | ||||||
| 						</div> | 						</div> | ||||||
| 						<div class="seven wide column"> | 						<div class="seven wide column"> | ||||||
| 							<div class="ui has-emoji"> | 							<div class="ui"> | ||||||
| 							{{.Description}} | 							{{.Description | RenderEmoji}} | ||||||
| 							</div> | 							</div> | ||||||
| 						</div> | 						</div> | ||||||
| 						<div class="three wide column"> | 						<div class="three wide column"> | ||||||
|   | |||||||
| @@ -51,7 +51,7 @@ | |||||||
| 							<span class="info">{{.i18n.Tr "repo.issues.filter_label_exclude" | Safe}}</span> | 							<span class="info">{{.i18n.Tr "repo.issues.filter_label_exclude" | Safe}}</span> | ||||||
| 							<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}">{{.i18n.Tr "repo.issues.filter_label_no_select"}}</a> | 							<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}">{{.i18n.Tr "repo.issues.filter_label_no_select"}}</a> | ||||||
| 							{{range .Labels}} | 							{{range .Labels}} | ||||||
| 								<a class="item label-filter-item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.QueryString}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" data-label-id="{{.ID}}">{{if .IsExcluded}}{{svg "octicon-circle-slash" 16}}{{else if .IsSelected}}{{svg "octicon-check" 16}}{{end}}<span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmojiPlain}}</a> | 								<a class="item label-filter-item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.QueryString}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" data-label-id="{{.ID}}">{{if .IsExcluded}}{{svg "octicon-circle-slash" 16}}{{else if .IsSelected}}{{svg "octicon-check" 16}}{{end}}<span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmoji}}</a> | ||||||
| 							{{end}} | 							{{end}} | ||||||
| 						</div> | 						</div> | ||||||
| 					</div> | 					</div> | ||||||
| @@ -155,7 +155,7 @@ | |||||||
| 						<div class="menu"> | 						<div class="menu"> | ||||||
| 							{{range .Labels}} | 							{{range .Labels}} | ||||||
| 								<div class="item issue-action" data-action="toggle" data-element-id="{{.ID}}" data-url="{{$.RepoLink}}/issues/labels"> | 								<div class="item issue-action" data-action="toggle" data-element-id="{{.ID}}" data-url="{{$.RepoLink}}/issues/labels"> | ||||||
| 									{{if contain $.SelLabelIDs .ID}}{{svg "octicon-check" 16}}{{end}}<span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmojiPlain}} | 									{{if contain $.SelLabelIDs .ID}}{{svg "octicon-check" 16}}{{end}}<span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmoji}} | ||||||
| 								</div> | 								</div> | ||||||
| 							{{end}} | 							{{end}} | ||||||
| 						</div> | 						</div> | ||||||
| @@ -220,7 +220,7 @@ | |||||||
| 					{{end}} | 					{{end}} | ||||||
|  |  | ||||||
| 					{{range .Labels}} | 					{{range .Labels}} | ||||||
| 						<a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description | RenderEmojiPlain}}">{{.Name | RenderEmojiPlain}}</a> | 						<a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description | RenderEmojiPlain}}">{{.Name | RenderEmoji}}</a> | ||||||
| 					{{end}} | 					{{end}} | ||||||
|  |  | ||||||
| 					{{if .NumComments}} | 					{{if .NumComments}} | ||||||
|   | |||||||
| @@ -61,7 +61,7 @@ | |||||||
| 							<span class="info">{{.i18n.Tr "repo.issues.filter_label_exclude" | Safe}}</span> | 							<span class="info">{{.i18n.Tr "repo.issues.filter_label_exclude" | Safe}}</span> | ||||||
| 							<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&assignee={{$.AssigneeID}}">{{.i18n.Tr "repo.issues.filter_label_no_select"}}</a> | 							<a class="item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&assignee={{$.AssigneeID}}">{{.i18n.Tr "repo.issues.filter_label_no_select"}}</a> | ||||||
| 							{{range .Labels}} | 							{{range .Labels}} | ||||||
| 								<a class="item has-emoji label-filter-item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.ID}}&assignee={{$.AssigneeID}}" data-label-id="{{.ID}}">{{if .IsExcluded}}{{svg "octicon-circle-slash" 16}}{{else if contain $.SelLabelIDs .ID}}{{svg "octicon-check" 16}}{{end}}<span class="label color" style="background-color: {{.Color}}"></span> {{.Name}}</a> | 								<a class="item label-filter-item" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&sort={{$.SortType}}&state={{$.State}}&labels={{.ID}}&assignee={{$.AssigneeID}}" data-label-id="{{.ID}}">{{if .IsExcluded}}{{svg "octicon-circle-slash" 16}}{{else if contain $.SelLabelIDs .ID}}{{svg "octicon-check" 16}}{{end}}<span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmoji}}</a> | ||||||
| 							{{end}} | 							{{end}} | ||||||
| 						</div> | 						</div> | ||||||
| 					</div> | 					</div> | ||||||
| @@ -148,8 +148,8 @@ | |||||||
| 						</span> | 						</span> | ||||||
| 						<div class="menu"> | 						<div class="menu"> | ||||||
| 							{{range .Labels}} | 							{{range .Labels}} | ||||||
| 								<div class="item issue-action has-emoji" data-action="toggle" data-element-id="{{.ID}}" data-url="{{$.RepoLink}}/issues/labels"> | 								<div class="item issue-action" data-action="toggle" data-element-id="{{.ID}}" data-url="{{$.RepoLink}}/issues/labels"> | ||||||
| 									{{if contain $.SelLabelIDs .ID}}{{svg "octicon-check" 16}}{{end}}<span class="label color" style="background-color: {{.Color}}"></span> {{.Name}} | 									{{if contain $.SelLabelIDs .ID}}{{svg "octicon-check" 16}}{{end}}<span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmoji}} | ||||||
| 								</div> | 								</div> | ||||||
| 							{{end}} | 							{{end}} | ||||||
| 						</div> | 						</div> | ||||||
| @@ -187,7 +187,7 @@ | |||||||
| 					</div> | 					</div> | ||||||
| 					{{end}} | 					{{end}} | ||||||
| 					<div class="ui {{if .IsClosed}}{{if .IsPull}}{{if .PullRequest.HasMerged}}purple{{else}}red{{end}}{{else}}red{{end}}{{else}}{{if .IsRead}}white{{else}}green{{end}}{{end}} label">#{{.Index}}</div> | 					<div class="ui {{if .IsClosed}}{{if .IsPull}}{{if .PullRequest.HasMerged}}purple{{else}}red{{end}}{{else}}red{{end}}{{else}}{{if .IsRead}}white{{else}}green{{end}}{{end}} label">#{{.Index}}</div> | ||||||
| 					<a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a> | 					<a class="title" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title | RenderEmoji}}</a> | ||||||
|  |  | ||||||
| 					{{if .IsPull }} | 					{{if .IsPull }} | ||||||
| 						{{if (index $.CommitStatus .PullRequest.ID)}} | 						{{if (index $.CommitStatus .PullRequest.ID)}} | ||||||
| @@ -196,7 +196,7 @@ | |||||||
| 					{{end}} | 					{{end}} | ||||||
|  |  | ||||||
| 					{{range .Labels}} | 					{{range .Labels}} | ||||||
| 						<a class="ui label has-emoji" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description}}">{{.Name}}</a> | 						<a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&assignee={{$.AssigneeID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description}}">{{.Name | RenderEmoji}}</a> | ||||||
| 					{{end}} | 					{{end}} | ||||||
|  |  | ||||||
| 					{{if .NumComments}} | 					{{if .NumComments}} | ||||||
|   | |||||||
| @@ -56,14 +56,14 @@ | |||||||
| 					<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_labels"}}</div> | 					<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_labels"}}</div> | ||||||
| 					{{if or .Labels .OrgLabels}} | 					{{if or .Labels .OrgLabels}} | ||||||
| 						{{range .Labels}} | 						{{range .Labels}} | ||||||
| 							<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon-check {{if not .IsChecked}}invisible{{end}}">{{svg "octicon-check" 16}}</span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmojiPlain}} | 							<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon-check {{if not .IsChecked}}invisible{{end}}">{{svg "octicon-check" 16}}</span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmoji}} | ||||||
| 							{{if .Description }}<br><small class="desc">{{.Description | RenderEmojiPlain}}</small>{{end}}</a> | 							{{if .Description }}<br><small class="desc">{{.Description | RenderEmoji}}</small>{{end}}</a> | ||||||
| 						{{end}} | 						{{end}} | ||||||
| 					 | 					 | ||||||
| 						<div class="ui divider"></div> | 						<div class="ui divider"></div> | ||||||
| 						{{range .OrgLabels}} | 						{{range .OrgLabels}} | ||||||
| 							<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon-check {{if not .IsChecked}}invisible{{end}}">{{svg "octicon-check" 16}}</span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmojiPlain}} | 							<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon-check {{if not .IsChecked}}invisible{{end}}">{{svg "octicon-check" 16}}</span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmoji}} | ||||||
| 							{{if .Description }}<br><small class="desc">{{.Description | RenderEmojiPlain}}</small>{{end}}</a> | 							{{if .Description }}<br><small class="desc">{{.Description | RenderEmoji}}</small>{{end}}</a> | ||||||
| 						{{end}} | 						{{end}} | ||||||
| 					{{else}} | 					{{else}} | ||||||
| 						<div class="header" style="text-transform: none;font-size:14px;">{{.i18n.Tr "repo.issues.new.no_items"}}</div> | 						<div class="header" style="text-transform: none;font-size:14px;">{{.i18n.Tr "repo.issues.new.no_items"}}</div> | ||||||
| @@ -73,10 +73,10 @@ | |||||||
| 			<div class="ui labels list"> | 			<div class="ui labels list"> | ||||||
| 				<span class="no-select item {{if .HasSelectedLabel}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_label"}}</span> | 				<span class="no-select item {{if .HasSelectedLabel}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_label"}}</span> | ||||||
| 				{{range .Labels}} | 				{{range .Labels}} | ||||||
| 					<a class="{{if not .IsChecked}}hide{{end}} item" id="label_{{.ID}}" href="{{$.RepoLink}}/issues?labels={{.ID}}"><span class="label color" style="background-color: {{.Color}}"></span> <span class="text">{{.Name | RenderEmojiPlain}}</span></a> | 					<a class="{{if not .IsChecked}}hide{{end}} item" id="label_{{.ID}}" href="{{$.RepoLink}}/issues?labels={{.ID}}"><span class="label color" style="background-color: {{.Color}}"></span> <span class="text">{{.Name | RenderEmoji}}</span></a> | ||||||
| 				{{end}} | 				{{end}} | ||||||
| 				{{range .OrgLabels}} | 				{{range .OrgLabels}} | ||||||
| 					<a class="{{if not .IsChecked}}hide{{end}} item" id="label_{{.ID}}" href="/issues?labels={{.ID}}"><span class="label color" style="background-color: {{.Color}}"></span> <span class="text">{{.Name | RenderEmojiPlain}}</span></a> | 					<a class="{{if not .IsChecked}}hide{{end}} item" id="label_{{.ID}}" href="/issues?labels={{.ID}}"><span class="label color" style="background-color: {{.Color}}"></span> <span class="text">{{.Name | RenderEmoji}}</span></a> | ||||||
| 				{{end}} | 				{{end}} | ||||||
| 			</div> | 			</div> | ||||||
|  |  | ||||||
|   | |||||||
| @@ -46,7 +46,7 @@ | |||||||
| 						{{end}} | 						{{end}} | ||||||
| 					</div> | 					</div> | ||||||
| 					<div class="ui attached segment"> | 					<div class="ui attached segment"> | ||||||
| 						<div class="render-content markdown has-emoji"> | 						<div class="render-content markdown"> | ||||||
| 							{{if .Issue.RenderedContent}} | 							{{if .Issue.RenderedContent}} | ||||||
| 								{{.Issue.RenderedContent|Str2html}} | 								{{.Issue.RenderedContent|Str2html}} | ||||||
| 							{{else}} | 							{{else}} | ||||||
|   | |||||||
| @@ -43,7 +43,7 @@ | |||||||
| 					{{end}} | 					{{end}} | ||||||
| 				</div> | 				</div> | ||||||
| 				<div class="ui attached segment"> | 				<div class="ui attached segment"> | ||||||
| 					<div class="render-content markdown has-emoji"> | 					<div class="render-content markdown"> | ||||||
| 						{{if .RenderedContent}} | 						{{if .RenderedContent}} | ||||||
| 							{{.RenderedContent|Str2html}} | 							{{.RenderedContent|Str2html}} | ||||||
| 						{{else}} | 						{{else}} | ||||||
| @@ -163,7 +163,7 @@ | |||||||
| 				</a> | 				</a> | ||||||
| 				<span class="text grey"> | 				<span class="text grey"> | ||||||
| 					<a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> | 					<a class="author" href="{{.Poster.HomeLink}}">{{.Poster.GetDisplayName}}</a> | ||||||
| 					{{if .Content}}{{$.i18n.Tr "repo.issues.add_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|Escape|RenderEmojiPlain) $createdStr | Safe}}{{else}}{{$.i18n.Tr "repo.issues.remove_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|Escape|RenderEmojiPlain) $createdStr | Safe}}{{end}} | 					{{if .Content}}{{$.i18n.Tr "repo.issues.add_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|Escape|RenderEmoji) $createdStr | Safe}}{{else}}{{$.i18n.Tr "repo.issues.remove_label_at" .Label.ForegroundColor .Label.Color (.Label.Name|Escape|RenderEmoji) $createdStr | Safe}}{{end}} | ||||||
| 				</span> | 				</span> | ||||||
| 			</div> | 			</div> | ||||||
| 		{{end}} | 		{{end}} | ||||||
| @@ -412,7 +412,7 @@ | |||||||
| 						</span> | 						</span> | ||||||
| 					</div> | 					</div> | ||||||
| 					<div class="ui attached segment"> | 					<div class="ui attached segment"> | ||||||
| 						<div class="render-content markdown has-emoji"> | 						<div class="render-content markdown"> | ||||||
| 							{{if .RenderedContent}} | 							{{if .RenderedContent}} | ||||||
| 								{{.RenderedContent|Str2html}} | 								{{.RenderedContent|Str2html}} | ||||||
| 							{{else}} | 							{{else}} | ||||||
| @@ -483,7 +483,7 @@ | |||||||
| 															<a class="author"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>{{.Poster.GetDisplayName}}</a> | 															<a class="author"{{if gt .Poster.ID 0}} href="{{.Poster.HomeLink}}"{{end}}>{{.Poster.GetDisplayName}}</a> | ||||||
| 															{{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdSubStr | Safe}} | 															{{$.i18n.Tr "repo.issues.commented_at" .HashTag $createdSubStr | Safe}} | ||||||
| 															<div class="text"> | 															<div class="text"> | ||||||
| 																<div class="render-content markdown has-emoji"> | 																<div class="render-content markdown"> | ||||||
| 																{{if .RenderedContent}} | 																{{if .RenderedContent}} | ||||||
| 																	{{.RenderedContent|Str2html}} | 																	{{.RenderedContent|Str2html}} | ||||||
| 																{{else}} | 																{{else}} | ||||||
|   | |||||||
| @@ -111,13 +111,13 @@ | |||||||
| 				<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_labels"}}</div> | 				<div class="no-select item">{{.i18n.Tr "repo.issues.new.clear_labels"}}</div> | ||||||
| 				{{if or .Labels .OrgLabels}} | 				{{if or .Labels .OrgLabels}} | ||||||
| 					{{range .Labels}} | 					{{range .Labels}} | ||||||
| 						<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon-check {{if not .IsChecked}}invisible{{end}}">{{svg "octicon-check" 16}}</span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmojiPlain}} | 						<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon-check {{if not .IsChecked}}invisible{{end}}">{{svg "octicon-check" 16}}</span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmoji}} | ||||||
| 						{{if .Description }}<br><small class="desc">{{.Description | RenderEmojiPlain}}</small>{{end}}</a> | 						{{if .Description }}<br><small class="desc">{{.Description | RenderEmoji}}</small>{{end}}</a> | ||||||
| 					{{end}} | 					{{end}} | ||||||
| 					<div class="ui divider"></div> | 					<div class="ui divider"></div> | ||||||
| 					{{range .OrgLabels}} | 					{{range .OrgLabels}} | ||||||
| 						<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon-check {{if not .IsChecked}}invisible{{end}}">{{svg "octicon-check" 16}}</span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmojiPlain}} | 						<a class="{{if .IsChecked}}checked{{end}} item" href="#" data-id="{{.ID}}" data-id-selector="#label_{{.ID}}"><span class="octicon-check {{if not .IsChecked}}invisible{{end}}">{{svg "octicon-check" 16}}</span><span class="label color" style="background-color: {{.Color}}"></span> {{.Name | RenderEmoji}} | ||||||
| 						{{if .Description }}<br><small class="desc">{{.Description | RenderEmojiPlain}}</small>{{end}}</a> | 						{{if .Description }}<br><small class="desc">{{.Description | RenderEmoji}}</small>{{end}}</a> | ||||||
| 					{{end}} | 					{{end}} | ||||||
| 				{{else}} | 				{{else}} | ||||||
| 					<div class="header" style="text-transform: none;font-size:14px;">{{.i18n.Tr "repo.issues.new.no_items"}}</div> | 					<div class="header" style="text-transform: none;font-size:14px;">{{.i18n.Tr "repo.issues.new.no_items"}}</div> | ||||||
| @@ -128,12 +128,12 @@ | |||||||
| 			<span class="no-select item {{if .HasSelectedLabel}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_label"}}</span> | 			<span class="no-select item {{if .HasSelectedLabel}}hide{{end}}">{{.i18n.Tr "repo.issues.new.no_label"}}</span> | ||||||
| 			{{range .Labels}} | 			{{range .Labels}} | ||||||
| 				<div class="item"> | 				<div class="item"> | ||||||
| 					<a class="ui label {{if not .IsChecked}}hide{{end}}" id="label_{{.ID}}" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description}}">{{.Name | RenderEmojiPlain}}</a> | 					<a class="ui label {{if not .IsChecked}}hide{{end}}" id="label_{{.ID}}" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description | RenderEmojiPlain}}">{{.Name | RenderEmoji}}</a> | ||||||
| 				</div> | 				</div> | ||||||
| 			{{end}} | 			{{end}} | ||||||
| 			{{range .OrgLabels}} | 			{{range .OrgLabels}} | ||||||
| 				<div class="item"> | 				<div class="item"> | ||||||
| 					<a class="ui label {{if not .IsChecked}}hide{{end}}" id="label_{{.ID}}" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description}}">{{.Name | RenderEmojiPlain}}</a> | 					<a class="ui label {{if not .IsChecked}}hide{{end}}" id="label_{{.ID}}" href="{{$.RepoLink}}/issues?labels={{.ID}}" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description | RenderEmojiPlain}}">{{.Name | RenderEmoji}}</a> | ||||||
| 				</div> | 				</div> | ||||||
|  |  | ||||||
| 			{{end}} | 			{{end}} | ||||||
| @@ -414,7 +414,7 @@ | |||||||
| 						{{range .BlockingDependencies}} | 						{{range .BlockingDependencies}} | ||||||
| 							<div class="item{{if .Issue.IsClosed}} is-closed{{end}}"> | 							<div class="item{{if .Issue.IsClosed}} is-closed{{end}}"> | ||||||
| 								<span class="text grey right floated">#{{.Issue.Index}}</span> | 								<span class="text grey right floated">#{{.Issue.Index}}</span> | ||||||
| 								<a class="title has-emoji" href="{{.Repository.Link}}/issues/{{.Issue.Index}}">{{.Issue.Title}}</a> | 								<a class="title" href="{{.Repository.Link}}/issues/{{.Issue.Index}}">{{.Issue.Title | RenderEmoji}}</a> | ||||||
| 								<div class="text small">{{.Repository.OwnerName}}/{{.Repository.Name}}</div> | 								<div class="text small">{{.Repository.OwnerName}}/{{.Repository.Name}}</div> | ||||||
| 								<div class="ui transparent label right floated nopadding"> | 								<div class="ui transparent label right floated nopadding"> | ||||||
| 									{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} | 									{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} | ||||||
| @@ -441,7 +441,7 @@ | |||||||
| 						{{range .BlockedByDependencies}} | 						{{range .BlockedByDependencies}} | ||||||
| 							<div class="item{{if .Issue.IsClosed}} is-closed{{end}}"> | 							<div class="item{{if .Issue.IsClosed}} is-closed{{end}}"> | ||||||
| 								<span class="text grey right floated">#{{.Issue.Index}}</span> | 								<span class="text grey right floated">#{{.Issue.Index}}</span> | ||||||
| 								<a class="title has-emoji" href="{{.Repository.Link}}/issues/{{.Issue.Index}}">{{.Issue.Title}}</a> | 								<a class="title" href="{{.Repository.Link}}/issues/{{.Issue.Index}}">{{.Issue.Title | RenderEmoji}}</a> | ||||||
| 								<div class="text small">{{.Repository.OwnerName}}/{{.Repository.Name}}</div> | 								<div class="text small">{{.Repository.OwnerName}}/{{.Repository.Name}}</div> | ||||||
| 								<div class="ui transparent label right floated nopadding"> | 								<div class="ui transparent label right floated nopadding"> | ||||||
| 									{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} | 									{{if and $.CanCreateIssueDependencies (not $.Repository.IsArchived)}} | ||||||
|   | |||||||
| @@ -12,7 +12,7 @@ | |||||||
| 				</div> | 				</div> | ||||||
| 			</h4> | 			</h4> | ||||||
| 			<div class="ui attached table unstackable segment"> | 			<div class="ui attached table unstackable segment"> | ||||||
| 				<div class="file-view {{if .IsMarkup}}markdown{{else if .IsRenderedHTML}}plain-text{{else if .IsTextFile}}code-view{{end}} has-emoji"> | 				<div class="file-view {{if .IsMarkup}}markdown{{else if .IsRenderedHTML}}plain-text{{else if .IsTextFile}}code-view{{end}}"> | ||||||
| 					{{if .IsMarkup}} | 					{{if .IsMarkup}} | ||||||
| 						{{if .FileContent}}{{.FileContent | Safe}}{{end}} | 						{{if .FileContent}}{{.FileContent | Safe}}{{end}} | ||||||
| 					{{else if .IsRenderedHTML}} | 					{{else if .IsRenderedHTML}} | ||||||
|   | |||||||
| @@ -16,10 +16,10 @@ | |||||||
| 								{{svg "octicon-file" 16}} | 								{{svg "octicon-file" 16}} | ||||||
| 								<a href="{{EscapePound $.RepoLink}}/src/commit/{{.SHA}}/{{EscapePound .Name}}" title="{{.Name}}">{{.Name}}</a> | 								<a href="{{EscapePound $.RepoLink}}/src/commit/{{.SHA}}/{{EscapePound .Name}}" title="{{.Name}}">{{.Name}}</a> | ||||||
| 							</td> | 							</td> | ||||||
| 							<td class="message has-emoji"> | 							<td class="message"> | ||||||
| 								<span class="truncate"> | 								<span class="truncate"> | ||||||
| 									<a href="{{$.RepoLink}}/commit/{{.SHA}}" title="{{.Summary}}"> | 									<a href="{{$.RepoLink}}/commit/{{.SHA}}" title="{{.Summary | RenderEmojiPlain}}"> | ||||||
| 										{{.Summary}} | 										{{.Summary | RenderEmoji}} | ||||||
| 									</a> | 									</a> | ||||||
| 								</span> | 								</span> | ||||||
| 							</td> | 							</td> | ||||||
|   | |||||||
| @@ -64,7 +64,7 @@ | |||||||
| 		{{end}} | 		{{end}} | ||||||
| 	</h4> | 	</h4> | ||||||
| 	<div class="ui attached table unstackable segment"> | 	<div class="ui attached table unstackable segment"> | ||||||
| 		<div class="file-view {{if .IsMarkup}}{{.MarkupType}} markdown{{else if .IsRenderedHTML}}plain-text{{else if .IsTextFile}}code-view{{end}} has-emoji"> | 		<div class="file-view {{if .IsMarkup}}{{.MarkupType}} markdown{{else if .IsRenderedHTML}}plain-text{{else if .IsTextFile}}code-view{{end}}"> | ||||||
| 			{{if .IsMarkup}} | 			{{if .IsMarkup}} | ||||||
| 				{{if .FileContent}}{{.FileContent | Safe}}{{end}} | 				{{if .FileContent}}{{.FileContent | Safe}}{{end}} | ||||||
| 			{{else if .IsRenderedHTML}} | 			{{else if .IsRenderedHTML}} | ||||||
|   | |||||||
| @@ -40,7 +40,7 @@ | |||||||
| 				</a> | 				</a> | ||||||
| 				{{template "repo/commit_status" .LatestCommitStatus}} | 				{{template "repo/commit_status" .LatestCommitStatus}} | ||||||
| 				{{ $commitLink:= printf "%s/commit/%s" .RepoLink .LatestCommit.ID }} | 				{{ $commitLink:= printf "%s/commit/%s" .RepoLink .LatestCommit.ID }} | ||||||
| 				<span class="grey has-emoji commit-summary" title="{{.LatestCommit.Summary}}"><span class="message-wrapper">{{RenderCommitMessageLinkSubject .LatestCommit.Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span> | 				<span class="grey commit-summary" title="{{.LatestCommit.Summary}}"><span class="message-wrapper">{{RenderCommitMessageLinkSubject .LatestCommit.Message $.RepoLink $commitLink $.Repository.ComposeMetas}}</span> | ||||||
| 				{{if IsMultilineCommitMessage .LatestCommit.Message}} | 				{{if IsMultilineCommitMessage .LatestCommit.Message}} | ||||||
| 					<button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button> | 					<button class="basic compact mini ui icon button commit-button"><i class="ellipsis horizontal icon"></i></button> | ||||||
| 					<pre class="commit-body" style="display: none;">{{RenderCommitBody .LatestCommit.Message $.RepoLink $.Repository.ComposeMetas}}</pre> | 					<pre class="commit-body" style="display: none;">{{RenderCommitBody .LatestCommit.Message $.RepoLink $.Repository.ComposeMetas}}</pre> | ||||||
| @@ -94,8 +94,8 @@ | |||||||
| 					</td> | 					</td> | ||||||
| 				{{end}} | 				{{end}} | ||||||
| 				<td class="message nine wide"> | 				<td class="message nine wide"> | ||||||
| 					<span class="truncate has-emoji"> | 					<span class="truncate"> | ||||||
| 						<a href="{{$.RepoLink}}/commit/{{$commit.ID}}" title="{{$commit.Summary}}">{{$commit.Summary}}</a> | 						<a href="{{$.RepoLink}}/commit/{{$commit.ID}}" title="{{$commit.Summary}}">{{$commit.Summary | RenderEmoji}}</a> | ||||||
| 					</span> | 					</span> | ||||||
| 				</td> | 				</td> | ||||||
| 				<td class="text right age three wide">{{TimeSince $commit.Committer.When $.Lang}}</td> | 				<td class="text right age three wide">{{TimeSince $commit.Committer.When $.Lang}}</td> | ||||||
|   | |||||||
| @@ -80,7 +80,7 @@ | |||||||
| 			</div> | 			</div> | ||||||
| 		{{end}} | 		{{end}} | ||||||
| 		<div class="ui {{if .sidebarPresent}}grid equal width{{end}}" style="margin-top: 1rem;"> | 		<div class="ui {{if .sidebarPresent}}grid equal width{{end}}" style="margin-top: 1rem;"> | ||||||
| 			<div class="ui {{if .sidebarPresent}}eleven wide column{{end}} segment markdown has-emoji"> | 			<div class="ui {{if .sidebarPresent}}eleven wide column{{end}} segment markdown"> | ||||||
| 				{{.content | Str2html}} | 				{{.content | Str2html}} | ||||||
| 			</div> | 			</div> | ||||||
| 			{{if .sidebarPresent}} | 			{{if .sidebarPresent}} | ||||||
|   | |||||||
| @@ -123,7 +123,7 @@ | |||||||
| 								especially on mobile views. */}} | 								especially on mobile views. */}} | ||||||
| 								<span style="line-height: 2.5"> | 								<span style="line-height: 2.5"> | ||||||
| 									{{range .}} | 									{{range .}} | ||||||
| 										<a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description}}">{{.Name | RenderEmojiPlain}}</a> | 										<a class="ui label" href="{{$.Link}}?q={{$.Keyword}}&type={{$.ViewType}}&state={{$.State}}&labels={{.ID}}&milestone={{$.MilestoneID}}&assignee={{$.AssigneeID}}&repos=[{{range $.RepoIDs}}{{.}}%2C{{end}}]" style="color: {{.ForegroundColor}}; background-color: {{.Color}}" title="{{.Description | RenderEmojiPlain}}">{{.Name | RenderEmoji}}</a> | ||||||
| 									{{end}} | 									{{end}} | ||||||
| 								</span> | 								</span> | ||||||
| 							{{end}} | 							{{end}} | ||||||
|   | |||||||
| @@ -1272,6 +1272,13 @@ i.icon.centerlock { | |||||||
|     font-size: 1em; |     font-size: 1em; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | .label > .emoji { | ||||||
|  |     font-size: 1em; | ||||||
|  | } | ||||||
|  |  | ||||||
|  | .dropdown .emoji { | ||||||
|  |     font-size: 1em; | ||||||
|  | } | ||||||
| .emoji img, | .emoji img, | ||||||
| .reaction img { | .reaction img { | ||||||
|     border-width: 0 !important; |     border-width: 0 !important; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 mrsdizzie
					mrsdizzie