Restyled git tags page. Added truncated tags message

This commit is contained in:
Dmitriy Zaporozhets 2012-10-26 18:37:12 +03:00
parent f73e46eece
commit b4708d006c
4 changed files with 19 additions and 11 deletions

View file

@ -50,7 +50,7 @@ class CommitDecorator < ApplicationDecorator
# avatar: true will prepend avatar image
def author_link(options)
text = if options[:avatar]
avatar = h.image_tag h.gravatar_icon(author_email), class: "avatar", width: 16
avatar = h.image_tag h.gravatar_icon(author_email), class: "avatar s16", width: 16
"#{avatar} #{author_name}"
else
author_name