Skip to content

Agency page doesn't have intro #114

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
sthapa opened this issue Feb 4, 2025 · 2 comments
Open

Agency page doesn't have intro #114

sthapa opened this issue Feb 4, 2025 · 2 comments
Assignees

Comments

@sthapa
Copy link

sthapa commented Feb 4, 2025

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

@sthapa sthapa self-assigned this Feb 4, 2025
@russtoku
Copy link
Member

russtoku commented Mar 16, 2025

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.

@russtoku
Copy link
Member

See PR 115.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants