Changeset 31049

Show
Ignore:
Timestamp:
03.11.2016 13:40:54 (3 years ago)
Author:
kjdon
Message:

add cleaned up metadata name as a class attribute to the metaTAbleCellArea. used if we have autocompletion for meta values

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone3/web/interfaces/default/transform/pages/document.xsl

    r30773 r31049  
    213213                            <tr> 
    214214                                <td class="metaTableCellName"><xsl:value-of select="@name"/></td> 
    215                                 <td class="metaTableCell"> <textarea autocomplete="off" class="metaTableCellArea"><xsl:value-of select="."/></textarea></td> 
     215                                <td class="metaTableCell"> <textarea autocomplete="off"><xsl:attribute name="class">metaTableCellArea <xsl:value-of select="translate(@name, '.-', '')"/></xsl:attribute><xsl:value-of select="."/></textarea></td> 
    216216                            </tr> 
    217217                        </xsl:if>