Skip to content
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

Backbutton on partnersites #258

Closed
lauraroverts opened this issue Aug 1, 2013 · 5 comments
Closed

Backbutton on partnersites #258

lauraroverts opened this issue Aug 1, 2013 · 5 comments

Comments

@lauraroverts
Copy link

At a partnersite like http://ghanaf4w.akvoapp.org/en/, you can't change the name of the Backbutton. The Backbutton reads: 'Back to Ghana', but it redirects to the homepage. At the moment the name in the Backbutton is the same as the organisation's name in the RSR admin, see screenshot:
screen shot 2013-08-01 at 13 56 46

If it redirects to the homepage, you should also be able to name the Backbutton: 'Back to home'

@adriancollier
Copy link
Contributor

We need to add a field in Partnersites to be able to rename the Back Button.

This change should not take longer than 1 working day.

@adriancollier
Copy link
Contributor

As @kardan mentioned, we need to complete a couple more actions on this:

  • Ensure the field is visible in the admin
  • Make the default entry for this field to display the current text: "Back to %Org Name%"
  • Ensure when the field is empty, the system uses this default value

@KasperBrandt
Copy link
Contributor

Merged, see #519

@KasperBrandt
Copy link
Contributor

Test plan

  1. Migration
    GIVEN migration 0050
    WHEN it is successful
    THEN the partnersite model should have a new field: custom_return_url_text
    AND this field should be empty by default
  2. Partnersite admin
    GIVEN a partnersite admin
    WHEN the admin is opened
    THEN the custom_return_url_text field should be visible
    AND by default empty
    AND the user should be able to edit and save a new value for this field
  3. Empty field
    GIVEN an empty custom_return_url_text field
    WHEN a page on the partnersite is opened
    THEN the organisation name of the Page should be mentioned in the back button
  4. Filled in field
    GIVEN a filled in custom_return_url_text field
    WHEN a page on the partnersite is opened
    THEN this value should be mentioned in the back button

@rumca
Copy link
Contributor

rumca commented May 13, 2014

One pretty minor issue, in the admin is it expected that Leave empty to display "Back to %organisation name%". is the label on this new field? Or should the %..% actually be populated with an org name?

The other field labels all use _myorganisation_ which is slightly clearer.

rumca added a commit that referenced this issue May 13, 2014
#258 modified organisation name as per comment from @rumca
@MichaelAkvo MichaelAkvo moved this to Done in RSR Dec 8, 2022
@MichaelAkvo MichaelAkvo added this to RSR Dec 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

No branches or pull requests

4 participants