#192 ✓resolved
Walter McGinnis

Extended field display of values with parenthesis is too greedy

Reported by Walter McGinnis | April 24th, 2009 @ 10:38 AM | in 1.2

Right now if you use the following pattern in an extended field it will create a hyperlink:

label_text (url_value)

This is really quite handy and we use it in the extended_field.ftype "prepopulated from topic type" to do smart linking between items and topics.

However, it needs additional logic. Users may enter text where they simply want the text in the parenthesis shown as is.

To handle this case, please add logic within the first when clause of the case statement starting at app/helpers/application_helper.rb#854 that will only do a link_to or mail_to if the value in the () has a protocol or email address (similar to following two when clauses).

Comments and changes to this ticket

  • Kieran P

    Kieran P April 27th, 2009 @ 09:20 AM

    • State changed from “new” to “resolved”

    This work has been completed and merged to master. Resolving ticket.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Kete was developed by Horowhenua Library Trust and Katipo Communications Ltd. to build a digital library of Horowhenua material.

People watching this ticket

Pages