[#19] fix pull request style

This commit is contained in:
Alexander Machehin 2013-04-10 18:48:57 +06:00
parent 266ae36296
commit 1e73381245
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ module PullRequestHelper
def pull_status_label pull
statuses = {'ready' => 'success', 'closed' => 'important', 'merged' => 'important', 'blocked' => 'warning'}
content_tag :span, t("projects.pull_requests.statuses.#{pull.status}"), :class => "label-bootstrap label-#{statuses[pull.status]}"
content_tag :span, t("projects.pull_requests.statuses.#{pull.status}"), :class => "state label-bootstrap label-#{statuses[pull.status]}"
end
def pull_status pull