Modify

Opened 6 years ago

Closed 3 years ago

Last modified 3 years ago

#9716 closed defect (fixed)

Code example with repo specfied produces incorrect title link

Reported by: Ian Lewis Owned by: Ryan J Ollos
Priority: normal Component: CodeExampleMacro
Severity: normal Keywords:
Cc: Ryan J Ollos Trac Release: 0.11

Description

When a repo value is specified, the title bar link to the repository is incorrect. It does not include the repository in the link path.

Example:

#!CodeExample
## title=A box with source from repository
## repo=ARepo
## path=APath/AFile.sql

produces a link to browser/APath/AFile.sql, not browser/ARepo/APath/AFile.sql as it should.

A note: It would be a lot nicer if path could just include the repository eliminating the need for the repo parameter.

Attachments (1)

repolink.patch (696 bytes) - added by anonymous 3 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 6 years ago by Ryan J Ollos

Cc: Ryan J Ollos added; anonymous removed

comment:2 Changed 4 years ago by Ryan J Ollos

Owner: changed from Alexander Slesarev to Ryan J Ollos
Status: newassigned

Changed 3 years ago by anonymous

Attachment: repolink.patch added

comment:3 Changed 3 years ago by anonymous

The attachment:repolink.patch includes the repo name in the generated link. Works for me with svn rev. 14035.

comment:4 Changed 3 years ago by Ryan J Ollos

Resolution: fixed
Status: assignedclosed

In 14037:

Fixed title bar link when repository is specified. Fixes #9716.

comment:5 Changed 3 years ago by Ryan J Ollos

In 14038:

Added URL to setup.py and bumped version to 1.1. Refs #9716.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.