- add name columns to table 'document_licences'
- add open access hints to dc and datacite (xslt)
This commit is contained in:
parent
35e71a13c3
commit
671cdb1e4e
|
@ -25,6 +25,7 @@ class CreateLicencesTable extends Migration
|
|||
$table->string('link_sign', 200)->nullable();
|
||||
$table->string('mime_type', 30)->nullable();
|
||||
$table->string('name_long', 200);
|
||||
$table->string('name', 50);
|
||||
$table->boolean('pod_allowed')->default(false);
|
||||
$table->tinyInteger('sort_order');
|
||||
});
|
||||
|
|
|
@ -572,6 +572,11 @@
|
|||
<dc:rights>
|
||||
<xsl:value-of select="@NameLong" />
|
||||
</dc:rights>
|
||||
<xsl:if test="@Name = 'CC BY' or @Name = 'CC BY-SA'">
|
||||
<dc:rights>
|
||||
<xsl:text>info:eu-repo/semantics/openAccess</xsl:text>
|
||||
</dc:rights>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
|
@ -349,6 +349,14 @@
|
|||
</xsl:attribute>
|
||||
<xsl:value-of select="@NameLong" />
|
||||
</rights>
|
||||
<xsl:if test="@Name = 'CC BY' or @Name = 'CC BY-SA'">
|
||||
<rights>
|
||||
<xsl:attribute name="rightsURI">
|
||||
<xsl:text>info:eu-repo/semantics/openAccess</xsl:text>
|
||||
</xsl:attribute>
|
||||
<xsl:text>Open Access</xsl:text>
|
||||
</rights>
|
||||
</xsl:if>
|
||||
</xsl:template>
|
||||
|
||||
</xsl:stylesheet>
|
Loading…
Reference in New Issue
Block a user