Changeset [62b37d5c98a3ae1f116125d13aede54ef6f593ed] by Brian Michalski

December 7th, 2011 @ 02:01 AM

Refactor the views for content upload.

A strong proof-of-concept for how plugins can work system wide. We
decompose the content upload form into 3 parts and let other content
types replace those parts if they have their own. A similiar technique
could easily be used to show other partials on a page iff they exist
since the lookup_context is suppose to handle engines correctly.

The performance / cacheability of this technique has yet to be tested,
but I'm optomistic it isn't fstating each time.
https://github.com/concerto/concerto/commit/62b37d5c98a3ae1f116125d...

Committed by Brian Michalski

  • A app/views/contents/_form_bottom.html.erb
  • A app/views/contents/_form_middle.html.erb
  • A app/views/contents/_form_top.html.erb
  • A app/views/contents/graphic/_form_top.html.erb
  • A app/views/contents/ticker/_form_top.html.erb
  • R app/views/contents/graphic/_form.html.erb
  • R app/views/contents/ticker/_form.html.erb
  • M app/views/contents/_form.html.erb
  • M config/locales/views/contents/en.yml
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Concerto is an open source digital signage system that makes it easy to engage a large community of people with graphical and text-based announcements, bulletins, and other messages... but enough about us, you came here to get involved.
<br />
If you think you've <b>found a bug in Concerto</b>, please click 'Create new ticket' and let us know about it.
<br />
Looking to peek at our source code? Head to <a href="https://github.com/concerto/concerto_v1">https://github.com/concerto/concerto_v1</a> (Concerto version 1) or <a href="https://github.com/concerto/concerto">https://github.com/concerto/concerto</a> (Concerto version 2).
<br />
Our getting started guide is available here: <a href="https://github.com/concerto/concerto/wiki/Getting-Involved">https://github.com/concerto/concerto/wiki/Getting-Involved</a>.