Browse Source

#1599 status button mrigin-right

pull/1609/head
Unknwon 9 years ago
parent
commit
31e7b0f588
  1. 2
      public/css/gogs.min.css
  2. 6
      public/less/_base.less
  3. 2
      templates/repo/issue/list.tmpl
  4. 2
      templates/user/dashboard/issues.tmpl

2
public/css/gogs.min.css vendored

File diff suppressed because one or more lines are too long

6
public/less/_base.less

@ -193,6 +193,12 @@ pre {
display: none!important;
}
}
&.status.buttons {
.octicon {
margin-right: 4px;
}
}
}
.overflow.menu {

2
templates/repo/issue/list.tmpl

@ -9,7 +9,7 @@
</div>
</div>
<div class="ui divider"></div>
<div class="ui tiny basic buttons">
<div class="ui tiny basic status buttons">
<a class="ui {{if not .IsShowClosed}}green active{{end}} basic button" href="{{$.Link}}?type={{$.ViewType}}&sort={{$.SortType}}&state=open&labels={{.SelectLabels}}&milestone={{.MilestoneID}}&assignee={{.AssigneeID}}">
<i class="octicon octicon-issue-opened"></i>
{{.i18n.Tr "repo.issues.open_tab" .IssueStats.OpenCount}}

2
templates/user/dashboard/issues.tmpl

@ -29,7 +29,7 @@
</div>
</div>
<div class="twelve wide column content">
<div class="ui tiny basic buttons">
<div class="ui tiny basic status buttons">
<a class="ui {{if not .IsShowClosed}}green active{{end}} basic button" href="{{.Link}}?type={{$.ViewType}}&repo={{.RepoID}}&state=open">
<i class="octicon octicon-issue-opened"></i>
{{.i18n.Tr "repo.issues.open_tab" .IssueStats.OpenCount}}

Loading…
Cancel
Save