You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Dan Brubaker Horst edited this page Aug 21, 2013
·
2 revisions
You can use placeholder work types to show the work types you intend to implement but haven't gotten around to supporting yet.
This can make an implementation of curate that only supports one or two types of works look more impressive.
There is no interface for adding placholder work types.
You have to code them directly into your rails app.
The above example was created from the following app/models/classify_concern.rb.
requireCurate::Engine.root.join('app/models/classify_concern')classClassifyConcernVALID_CURATION_CONCERN_CLASS_NAMES=['SeniorThesis']UPCOMING_CONCERNS=[['Article','Deposit your preprint or open access articles.'],['Dataset','Store research data.'],['Image','Deposite photographs or generated images.'],['Video','Upload your video files.']]end
You can overwrite the default styles by creating your own app/assets/stylesheets/modules/classify_work.css.scss in your rails app.