Giter Site home page Giter Site logo

django-legaltext's People

Contributors

lenarother avatar stephrdev avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

django-legaltext's Issues

Checkboxen optional

Zu manchen TNBs gibt es kein Formular. Checkboxen können in diesem Fall deaktiviert werden.

legatext version / Rechtstextversion

In the row of buttons on the lower end of the popup window is one that indicates it would be possible to edit and save the text but this is not possible currently. Would be good to either remove this one or add the functionality.

legaltext_url Templatetag

Add a template tag which acts like url tag including support for "as" which takes the internal slug of a legal text and returns the url based on slug or url name - depending on available data.

Make template customizable

Instead of overwriting the template by adding a new file into templates/legaltext/content.html, it would be nice to define a custom filepath. For projects with more than one simultaneous participation forms, the path may need to differ.

Enlarge slug field

The LegalText.slug and LegalText.url_slug field should store more characters (at least 128).

URL unique check not working

The Admin complains that an empty url slug is invalid because it is already in use. Looks like we cannot use unique=True here. Need to change the validator to make sure only url slugs with a value are considered when looking for duplicates.

Add export possibility

Add possibility to export all LegalText versions as md. Format: YYYYMMDD_HHMMSS_VersionsID_LegalTextName_Typ.md

E.g.

Text: 20170406_194300_29_perfectage_event_terms_text_content.md
Checkbox: 20170406_194300_29_perfectage_event_terms_text_checkbox1.md

Vorschau-Links hinzufügen

Bitte nach dem Speichern einer neuen Version einen Link zur Vorschau hinzufügen. Vielleicht direkt in der Bestätigungsmeldung:

bildschirmfoto 2018-11-02 um 10 51 33

FormFields schould use floppyforms if available

LegalTextFormField schould use floppyforms fields if floppyforms is installed. This can be done by

try:
    import floppyforms.__future__ as forms
except ImportError
    from django import forms

Packaging - check content of wheel and src dist

Make sure that both builds only contain what they should, e.g. contain locale, templates and doesn't contain tests. Keep your eyes open for other files that shouldn't belong to the packaged files.

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.