Browse Source

Merge pull request #201 from j20/patch-1

Add dropdown-menu-right class to the repo-watching dropdown
for-closed-social
无闻 10 years ago
parent
commit
a4c3ab48a5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      templates/repo/nav.tmpl

+ 1
- 1
templates/repo/nav.tmpl View File

@ -39,7 +39,7 @@
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
<span class="caret"></span> <span class="caret"></span>
</button> </button>
<div class="dropdown-menu">
<div class="dropdown-menu dropdown-menu-right">
<div class="dropdown-item text-left to-unwatch"> <div class="dropdown-item text-left to-unwatch">
<h4 role="presentation" class="dropdown-header {{if not .IsRepositoryWatching}}text-primary{{end}}">Not Watching</h4> <h4 role="presentation" class="dropdown-header {{if not .IsRepositoryWatching}}text-primary{{end}}">Not Watching</h4>
<p class="description">You only receive notifications for conversations in which you participate or are @mentioned.</p> <p class="description">You only receive notifications for conversations in which you participate or are @mentioned.</p>

Loading…
Cancel
Save