Style Telegrafico

  • I have a technic question.


    In the style, when there is new threads or reponses, a green "x neu" appear. In french, 1 new its "1 nouveau" and more it's "x nouveaux" (we add a x at the end of word). Do you think it's possible to have the two possibilities or not ?

    • Teambeitrag

    This is set trough css and you can change it however you want:



    If you want it multilingual you can add a speechvariable in the template. unfortunately there is no standalone "new" in the whole forums :hmmmm: so the variable must be added by hand.

  • no in fact i want say, is it possible to have two word possible, "nouveau" for just 1 new thread/message, and "nouveaux" for more than 1 new thread/message.


    Because i know in general the change of word if possible in phrase variable by adding {if $xxxxx > 1}s{/if} by exemple. but i think your word is just added in the template, so i'm not sure it's possible to have the two possibilities.

    • Teambeitrag

    Oh sorry, i missunderstood you completly :blush:


    Yes its possible with a seconds class for example:


    CSS
    {if $unreadThreadsCount.$boardID == 1}<span class="nouveau">{#$unreadThreadsCount.$boardID}</span>{else}{#$unreadThreadsCount.$boardID}{/if}


    CSS
    .boardlistSubboards .nouveau span:after {
        content: " nouveau";
    }
    
    
    .boardlistSubboards span:after {
        content: " nouveaux";
    }


    You can also add more types with "else if" for example: 1-19 new posts = green 20 < = red and so on...


  • great it's perfect, thank you :D


    now i wait for buy it ^^

  • ich warte auch schon darauf. im spoiler hab ich eine extrem einseitige meinung von diesem stil eingebracht:

    "Zwei Dinge sind unendlich, das Universum und die menschliche Dummheit,


    aber bei dem Universum bin ich mir noch nicht ganz sicher."


    Albert Einstein

  • Durch eine andauernden Posts wird das Design sicherlich nicht früher veröffentlicht.
    Wir wissen alle, dass dir das Design gefällt und jetz reichts aber auch langsam mal wieder...

  • Mr D kann ich dir nur zustimmen.


    Es ist fertig wenn es fertig ist drängeln hilft da garnicht.

    Zumal durch das drängeln, wird es nur schlimmer denn um so mehr fragen um so häufiger muss Tom hier rein schauen denn es könnte ja eine "wirklich" wichtige Frage sein und diese Zeit wo er hier rein guckt gehen natürlich von der Bearbeiten bzw. auf die Zeit bis zur Fertigstellung.

    Gruß
    Jonas



    Hallo – Hello – Bonjour – Merhaba – Hei - Γεια σας – Hej – مرحبا – Halo – Olá – Hallå – здраво - ¡Hola
    #welcome #refugeeswelcome #statement