Index>
20150120-evidentia-look-and-feel
Summary
- cleanup evidentia look-and-feel
Commits
Index
- Keep in Mind for work to do in 2015
-
- Fix dojo error http://www.sitepen.com/blog/2012/10/31/debugging-dojo-common-error-messages/#forgot-dom-ready
- I removed on May-27 tests for ix_registrationss, fix_sequences, fix_compositions, fix_packages from test/test_plugin/swissmedic.rb,as he could not find any references for them in the src code. Did I erroneously remove stuff when cleaning up the swissmedic import earlier?
- The whole test for older/newer Packages must be adapted to xlsx. One must compare the rows (e.g. by creating csv files) and do the same stuff in xlsx!
- creat gem: task: input=file with ean-codes, standard output show ean-codes + atc-code. Source is Swissmedic Packungen.xlsx or XML.
- Display 10 recalls not only those from this month
- Import via data/medreg_companies.yaml
---
cleanup evidentia look-and-feel
Zeno did send me a few points the client would like to have corrected:
- Remove "Rechtlicher Hinweis"
- Don't show PI icon in search results. Display it in the detail view.
- After click in 'V Legende einblenden' best_result
- Format legend in 3 columns, evenly spread
- Correct legend "Blau=Original" -> "Rot=Original"
- Remove links in legend.
- Is ist acceptable to remove the colours? If not I suggest that the CSS sets the colours for the names explain_original,
- Add Ex-Factory-Price in Search-Result. best_result
- Remove Link "Ref/Data" in PopUp. Hover of 'A/SL/SO' von Kat. in Kat.
- Remove Link "Selbstbehalt" in PopUp. Hover of 10% in SB
- In Detailview remove Feedback and FB-Icon Packungsdetail
Suppressing the links while preserving the colours is difficult. When I remove the links (by replacing e.g. :explain_original by 'explain_original' in the lookandfeelwrapper.rb, I remove the CSS class, too. To change this I would have to adapt the class View::ExplainResult in src/view/resultfoot.rb.
Finally found a good working solution for resultfoot.rb which is compatible with the old way and allows to disable each of the shown URL.
It is however not possible to disable the legal note without disabling the caption.
Pushed commit Updated evidentia look-and-feel for 'Show caption'.. Pulling on thinpower and restarting oddbd there.
When going to de/evidentia/show/reg/39053/seq/02/pack/039 it still displays the feeedback. Why the hell? :feedback is not in the evidentia lnf.enabled list.
Correcting display of the legal_note by adding a show_caption element for the lnf with commit Disable legal note in caption with evidentia lnf.