Commits

Marcin Kuzminski  committed b1822f4

Show that all reviewers reviewed pull request

  • Participants
  • Parent commits 12fce5e

Comments (0)

Files changed (1)

File rhodecode/templates/pullrequests/pullrequest_show.html

               <label>${_('Still not reviewed by')}:</label>
           </div>
           <div class="input">
-            <div class="tooltip" title="${h.tooltip(','.join([x.username for x in c.pull_request_pending_reviewers]))}">${ungettext('%d reviewer', '%d reviewers',len(c.pull_request_pending_reviewers)) % len(c.pull_request_pending_reviewers)}</div>
+            % if len(c.pull_request_pending_reviewers) > 0:
+                <div class="tooltip" title="${h.tooltip(','.join([x.username for x in c.pull_request_pending_reviewers]))}">${ungettext('%d reviewer', '%d reviewers',len(c.pull_request_pending_reviewers)) % len(c.pull_request_pending_reviewers)}</div>
+            %else:
+                <div>${_('pull request was reviewed by all reviewers')}</div>            
+            %endif
           </div>
          </div>
       </div>