Changeset 2893


Ignore:
Timestamp:
05/15/13 03:51:56 (11 years ago)
Author:
mwindhouwer
Message:

M mod-ISOcat-access-data/dbx/profiles.xml
M mod-ISOcat-access-data/access/cr_check.acc
M mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/xsl/SubmissionCheck2HTML.xsl

  • you can't submit DCs for standardization to informal TDGs

M mod-ISOcat-interface-gi/index.acc

  • added directive for IE10 to enable compatability mode
Location:
cats/ISOcat/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • cats/ISOcat/trunk/mod-ISOcat-access-data/access/cr_check.acc

    r2029 r2893  
    4242                                                        <xsl:for-each select="$TDGs">
    4343                                                                <xsl:message>TDG[<xsl:value-of select="current()"/>]</xsl:message>
    44                                                                 <xsl:variable name="tdg" select="current()"/>
    45                                                                 <tdg ref="{$tdg}" name="{$profs//tdg[@isocat:id=$tdg]/@name}">
    46                                                                         <xsl:variable name="tdg-profiles" select="for $p in $profiles return if ($profs//profile[@isocat:id=$p]/ancestor::tdg/@isocat:id = $tdg) then ($p) else ()"/>
     44                                                                <xsl:variable name="tdg" select="$profs//tdg[@isocat:id=current()]"/>
     45                                                                <tdg ref="{$tdg/@isocat:id}" name="{$profs//tdg[@isocat:id=$tdg/@isocat:id]/@name}">
     46                                                                        <xsl:variable name="tdg-profiles" select="for $p in $profiles return if ($profs//profile[@isocat:id=$p]/ancestor::tdg/@isocat:id = $tdg/@isocat:id) then ($p) else ()"/>
    4747                                                                        <xsl:variable name="outliers">
    4848                                                                                <xsl:for-each select="$doc/cr/dcs/dc">
     
    5454                                                                        </xsl:variable>
    5555                                                                        <xsl:choose>
     56                                                                                <xsl:when test="$tdg/@status='informal'">
     57                                                                                        <xsl:attribute name="check" select="'invalid'"/>
     58                                                                                </xsl:when>
    5659                                                                                <xsl:when test="empty($outliers//dc)">
    5760                                                                                        <xsl:attribute name="check" select="'valid'"/>
  • cats/ISOcat/trunk/mod-ISOcat-access-data/dbx/profiles.xml

    r2029 r2893  
    2121                                        <dbx:attribute name="isocat:id" field="id"/>
    2222                                        <dbx:attribute name="name" field="name"/>
     23                                        <dbx:attribute name="status" field="status"/>
     24                                        <dbx:attribute name="activity" field="activity"/>
    2325                                        <dbx:for-each table="core_profile" distinct="true">
    2426                                                <dbx:where field="tdg" select="$current/id" type="integer"/>
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/index.acc

    r2264 r2893  
    1919                                                                <link rel="shortcut icon" href="{$props//site}interface/JSXAPPS/ISOcat/images/favicon.ico"/>
    2020                                                                <link rel="icon" href="{$props//site}interface/JSXAPPS/ISOcat/images/favicon.gif" type="image/gif"/>
     21                                                                <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9"/>
    2122                                                        </head>
    2223                                                        <body BGCOLOR="#9898a5" SCROLL="no"
  • cats/ISOcat/trunk/mod-ISOcat-interface-gi/interface/JSXAPPS/ISOcat/xsl/SubmissionCheck2HTML.xsl

    r2029 r2893  
    2525   
    2626    <xsl:template match="td[count(tdg[@check='valid'])=0]">
    27         <li>There is no TDG which can manage all the selected data categories.</li>
     27        <li>There is no TDG which can (or is allowed to) manage all the selected data categories.</li>
    2828        <xsl:if test="tdg[@check='invalid']">
    2929            <ol>
Note: See TracChangeset for help on using the changeset viewer.