Giter Club home page Giter Club logo

Comments (7)

markussc avatar markussc commented on July 18, 2024 1

Suggest to use this advanced truncate filter: https://github.com/dzango/TwigTruncateExtension
I am currently figuring out how to apply it to achieve best results

from cube-common-bundle.

SimonHeimberg avatar SimonHeimberg commented on July 18, 2024

to view some of the related associations (in db reservations): SELECT * FROM pa_reservations.audit_associations WHERE id in (247871, 247889, 274818, 274836)

from cube-common-bundle.

markussc avatar markussc commented on July 18, 2024

suggest to close this. It's implemented in https://github.com/EmchBerger/projectassistant/pull/1548

from cube-common-bundle.

SimonHeimberg avatar SimonHeimberg commented on July 18, 2024

We should still show that a value is incomplete if it is not html.

from cube-common-bundle.

MartinRosserEB avatar MartinRosserEB commented on July 18, 2024

Incomplete HTML tags (e.g. &nbs for truncated  ) confirmed to still be in the log. Minor issue, visible e.g. in reservation 2507.

see comment https://github.com/EmchBerger/projectassistant/pull/1548/commits/1c7c7034962b9c114f0a0facdd8b7b366b8aa63c#r167199704

from cube-common-bundle.

markussc avatar markussc commented on July 18, 2024

What we could do is remove the last word from the string before sending it to the truncate macro. This is a bit tricky since in order to do this, we first have to strip tags (otherwise there are no separate words in the string).

from cube-common-bundle.

SimonHeimberg avatar SimonHeimberg commented on July 18, 2024

Stripping last word done in 99a41eb

from cube-common-bundle.

Related Issues (20)

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.