Changing vote language on Community topic page


4 Kommentare

  • Vladan Jovic
    Community Moderator
    • In design editor find Community post list page
    • on the very bottom of this page, paste this code
    $('.striped-list-item').each(function() {
    votes = $(this).find('.votes-numb .striped-list-number');

    if ($(votes).text() == "1") {

    • find {{t 'vote' count=vote_sum}}
    • replace it with this code
     <span class="agrees">agrees</span>
    • find this row
     <span class="striped-list-count-item">
    • and replace it with the code
     <span class="striped-list-count-item votes-numb">
    • you should get

    (tested on Copenhagen theme)


  • Susheela

    Thanks, Vladan! This works.

  • Jennifer Rowe
    Zendesk Documentation Team

    Nice, Vladin! thanks for helping out.

  • Vladan Jovic
    Community Moderator

    Glad that this helps! Cheers


Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk