cca / equella_templates Goto Github PK
View Code? Open in Web Editor NEWFreemarker display templates for openEQUELLA collections
Home Page: https://vault.cca.edu
Freemarker display templates for openEQUELLA collections
Home Page: https://vault.cca.edu
see the "33.333.333" weirdness here: https://vault.cca.edu/items/ba0d7824-3096-47fa-b8b8-fbabd44e9d72/2/
The "js to convert dates" display JavaScript must be causing this, screwing up the date when it's only a month and year. It's stored correctly in the metadata.
all the CSS & JS dumped into tags should be broken out, minified, probably served from the Web Assets collection like we're already doing in some places (e.g. vaultDashboardCSS).
For each content type template for each collection:
rel="group"
to the <a>
tag wrapping the image<script>
$(function(){
// little tricky here, but we're filtering to _only_ jpg/png images
$('.image-with-metadata a').filter(function(){
return this.href.match(/(\.(jpe?g|png)?)$/i)
}).fancybox()
})
</script>
Note that the jQuery selector will vary based on how a collection's templates look, .image-artistDocs a
& #images a.img
are some others, for example.
Collections that are mostly writing or don't feature long lists of images don't stand to benefit from this and so have been removed from the lists below.
Academic
Other
see https://vault.cca.edu/items/0b59c860-8e20-4ffd-8532-e5f3c57a3894/2/ "Written Response"
problem is lines 33 & 49 of Core FYP FYR template. <img src="/file/${itemUuid}/${itemversion}/${thumb}" />
should be <img src="/thumbs/${itemUuid}/${itemversion}/${uuid}/" />
.
Images never load, possibly a problem with the upgraded version of jQuery justified gallery and the very strange markup of the Campus Planning section, with <div>
s thrown in alongside the images. For now, it's set to just go to an image search on the CP collection, unlike the other tabs.
In the JS console, there's an error along the lines of can't load https://vault.cca.edu/undefined
which definitely looks somehow related to the gallery script but I can't tell what's generating it.
<pre>
tags help in long text fields like mods/abstract because then line breaks display.
Collections to review for these fields:
Keeping this issue open for a while because there may be others.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.