okfn / ckanext-lacounts

CKAN extension for the LA Counts project
GNU Affero General Public License v3.0
8 stars 5 forks source link

Make topic working group description editable #181

Closed roll closed 5 years ago

roll commented 5 years ago

For now, the text is configurable but the same for all topics.


Code snippet to have it individually (per topic) editable:

      {% call editable.region('topic-%s-working-group' % c.group.name) %}
        <h3><a href="#">{{ c.group.display_name }} working group</a></h3>
        <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam finibus odio sit amet turpis fermentum, in tempus mauris egestas.</p>
      {% endcall %}

Please let me know if we need switching to this approach..