Visitar URL original
Agency page doesn't have intro · Issue #114 · CodeWithAloha/uipa · GitHub
Skip to content

Agency page doesn't have intro #114

Open

Description

@sthapa

We have a little intro for agencies in current site, not there in new site

Activity

  1. self-assigned this
    on Feb 4, 2025
  2. russtoku commented on Mar 16, 2025

    @russtoku
    Member

    The fix is to add the following to froide/publicbody/templates/publicbody/show.html in CodeWithAloha/froide2:

     27 {% block app_body %}
     28     <div itemscope itemtype="http://schema.org/Organization">
     29         <h2 itemprop="name">{{ object.name }}</h2>
      +            <p>{{ object.description }}</p>
      +            <br/>
     30         {% if object.email and object.confirmed %}

    This assumes that CodeWithAloha/froide2 is being modified to change things in Froide rather than using the uipa_org/theme mechanism in CodeWithAloha/uipa.

    I'm wondering:

    • What's the difference between CodeWithAloha/froide and CodeWithAloha/froide2?
    • Is modifying Froide the strategy we're going to be using moving forward?

    I was able to fork CodeWithAloha/froide2 after deleting my fork of CodeWithAloha/froide.

  3. russtoku commented on Mar 16, 2025

    @russtoku
    Member
  4. sthapa commented on Nov 15, 2025

    @sthapa
    Author

    The fix is to add the following to froide/publicbody/templates/publicbody/show.html in CodeWithAloha/froide2:

    27 {% block app_body %}
    28


    29

    {{ object.name }}

    •        <p>{{ object.description }}</p>
      
    •        <br/>
      

    30 {% if object.email and object.confirmed %}
    This assumes that CodeWithAloha/froide2 is being modified to change things in Froide rather than using the uipa_org/theme mechanism in CodeWithAloha/uipa.

    Does the model already have this field?

    I'm wondering:

    • What's the difference between CodeWithAloha/froide and CodeWithAloha/froide2?
    • Is modifying Froide the strategy we're going to be using moving forward?

    I was able to fork CodeWithAloha/froide2 after deleting my fork of CodeWithAloha/froide.

    froide2 is the repo you should be using. I ended up creating froide2 because it was a bit too difficult to make the appropriate changes in the froide repo without disrupting other people or the existing code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions