-
Notifications
You must be signed in to change notification settings - Fork 20
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
Links not clickable on Pages (Partner sites) project updates #438
Comments
From a quick review it looks like we miss some "|urlize" see https://github.com/akvo/akvo-rsr/blob/develop/akvo/templates/rsr/project/project_update.html#L67 But probably at other texts as well. |
If a link is present in the markdown update, but not marked as a proper link we use the urlize template tag to create a link from the url. This link will show the full url as the link We do not urlize texts that are limited in chars. Examples of this is the project list and the small preview on the main project page. The motivation for this is that it might be unsafe to deal with.
This change should also fix the problem in #419 |
Instead of only converting update text from markdown we also scan the update text for urls and make them into links. In mark down you should really use the description syntax. |
Tested on UAT and PartnerSite UAT - working as expected |
Links aren't clickable on Pages versions of project updates, e.g. in RSR we see the link as expected http://rsr.akvo.org/project/352/update/4545/, whereas the Pages version only has the link text: http://connect4change.akvoapp.org/en/project/352/update/4545/
The text was updated successfully, but these errors were encountered: