Sha256: 4e74286d8a0bc6ad8522e4bcb34bc1c1fd102d9b9e9434e814806734e4a0619d
Contents?: true
Size: 1.36 KB
Versions: 12
Compression:
Stored size: 1.36 KB
Contents
.well.well-small.translation_box{ id: "translation_id_#{translation.id}", 'data-key-id' => translation.translation_key.id } %div{class: "translation_info #{language_direction(to_lang)}"} %span = translation.value - if translation_admin? = link_to '×', translation_path(translation), method: :delete, data: { confirm: t('translation_center.actions.are_you_sure', :default => 'Are you sure?') }, class: 'close', remote: true %br %br %small.pull-right %em = t('.by') - if translation.translator == current_user = t('.you') - else = translation.translator.send(TranslationCenter::CONFIG['identifier_type']) = t('.on_date') = format_date(translation.created_at) %div.translation_voting - if translation_admin? = render 'translation_center/translations/accept_translation', translation: translation .votes_count.badge.badge-success.pull-right %span.count{ 'data-translation-id' => translation.id } = translation.votes.count = t('.votings') %a.pull-right{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')
Version data entries
12 entries across 12 versions & 1 rubygems