Sha256: 533bf65b36a8a7845ce43c190da4494668c0f90ea52b07be7e6c7aa16a0da0f6
Contents?: true
Size: 1.29 KB
Versions: 12
Compression:
Stored size: 1.29 KB
Contents
.well.well-small.translation_box{ id: "translation_id_#{translation.id}", 'data-key-id' => translation.translation_key.id } %div.translation_info %span.pull-left = translation.value - if translation_admin? = link_to '×', translation_path(translation), method: :delete, data: { confirm: t('actions.are_you_sure', :default => 'Are you sure?') }, class: 'close', remote: true %br %small.pull-right %em = t('.by') - if translation.user == current_user = t('.you') - else = translation.user.send(TranslationCenter::CONFIG['identifier_type']) = t('.on') = I18n.localize(translation.created_at, format: '%b, %d %Y') %div.translation_voting %a{href: '#'} - voted = current_user.voted_on?(translation) %span.badge.pull-left.translations_vote{ class: "#{voted ? 'badge-success' : ''}", 'data-translation-id' => translation.id, voted: voted.to_s} - if voted = t('.unvote') - else = t('.vote') - if translation_admin? = render 'translation_center/translations/accept_translation', translation: translation .votes_count.badge.badge-success %span.count{ 'data-translation-id' => translation.id } = translation.votes.count = t('.votes')
Version data entries
12 entries across 12 versions & 1 rubygems