Git Product home page Git Product logo

template's People

Contributors

djprmf avatar etana avatar neptune- avatar nle-odoo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

template's Issues

Problème de formatage avec {rpg_fields_left.F_NAME} et {rpg_fields.F_NAME}

Salutations,

Pour mon forum je travail sur une version custom de la fiche de personnage (à base de CSS maison et javascript).

Seulement je rencontre un problème quand je souhaite utiliser {rpg_fields_left.F_NAME} et {rpg_fields.F_NAME}

En effet, {rpg_fields_left.F_NAME} et {rpg_fields.F_NAME}, insèrent le code suivant :

&nbsp;<span class="gen">F_NAME</span>

Ce qui, tu en conviendra, n'est pas très pratique quand on veut modifier le template comme suit :

<!-- BEGIN rpg_fields_left -->
    <dl>
        <dt class='{rpg_fields_left.F_NAME}'><label>{rpg_fields_left.F_NAME} :</label></dt>
        <dd>{rpg_fields_left.F_VALUE_NEW}</dd>
    </dl>
<!-- END rpg_fields_left -->

[...]

<!-- BEGIN rpg_fields -->
    <dl>
        <dt class='{rpg_fields.F_NAME}'><label>{rpg_fields.F_NAME} :</label></dt>
        <dd>{rpg_fields.F_VALUE_NEW}</dd>
    </dl>
<!-- END rpg_fields -->

Peut-on envisager une modification ou mieux, une valeur alternative du genre :
{rpg_fields.F_RAW_NAME} Qui ne contiendrait que le nom du champs en "brut" (minuscule, underscore, pas de code html superflus)

Amicalement,
Marc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.