Ignore:
Timestamp:
2013-08-21T13:20:29+12:00 (11 years ago)
Author:
sjm84
Message:

The ability to edit and add notes is disabled if you're not logged in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/model-cols-dev/pei-jones/collect/photos/etc/collectionConfig.xml

    r28054 r28110  
    304304                           
    305305                                $('#toAnnotate').annotateImage({
    306                                     editable: true,
     306                                    </xsl:text>
     307                                        <xsl:choose>
     308                                            <xsl:when test="/page/pageRequest/userInformation/@username">
     309                                                <xsl:text disable-output-escaping="yes">editable: true,</xsl:text>
     310                                            </xsl:when>
     311                                            <xsl:otherwise>
     312                                                <xsl:text disable-output-escaping="yes">editable: false,</xsl:text>
     313                                            </xsl:otherwise>
     314                                        </xsl:choose>
     315                                    <xsl:text disable-output-escaping="yes">
    307316                                    useAjax: true,
    308317                                    notes: existing_notes
Note: See TracChangeset for help on using the changeset viewer.