The following comment has been added to this issue:
Author: Johannes Schaefer
Created: Fri, 20 Aug 2004 6:25 PM
Body:
this may be done in site2xhtml.xsl by adding
<xsl:when test="contains(@href, 'error:')">
<a href="{@href}" class="broken">
<xsl:apply-templates/>
</a>
</xsl:when>
to
<!-- handle all obfuscating mail links and disabling external link images -->
<xsl:template match="a">
<xsl:choose>
...
</xsl:choose>
</xsl:template>
and defining the a.broken class apropriately,
e.g. in skinconf.xml (or add directly to forrest.css.xslt)
a.broken {
padding: 0 20px 0px 0px;
display:inline;
background-repeat: no-repeat;
background-position: center right;
background-image: url(images/broken-link.gif);
font-family: monospace;
font-size: 11pt;
}
---------------------------------------------------------------------
View the issue:
http://issues.cocoondev.org/jira//secure/ViewIssue.jspa?key=FOR-260
Here is an overview of the issue:
---------------------------------------------------------------------
Key: FOR-260
Summary: put a little error icon behind broken links
Type: Improvement
Status: Unassigned
Priority: Minor
Project: Forrest
Component: Core operations
Versions:
HEAD
Assignee:
Reporter: Johannes Schaefer
Created: Thu, 19 Aug 2004 11:45 AM
Updated: Thu, 19 Aug 2004 11:45 AM
Environment: all
Description:
an icon (like the external link icon) indicating that this link is broken (error:site:...)
would be very helpful in spotting broken links
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.cocoondev.org/jira//Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|