@@ -23,7 +23,11 @@ uiModels.comics = {
2323 {
2424 id : 'title' , attribute : 'title' , type : 'text' , label : 'Title' , required : true ,
2525 maxLength : 255 ,
26- width : 62 , inMany : true
26+ width : 100 , inMany : true
27+ } ,
28+ {
29+ id : 'authors' , attribute : 'authors' , type : 'text' , width : 62 , inMany : true ,
30+ label : 'Authors'
2731 } ,
2832 {
2933 id : 'genre' , attribute : 'genre' , type : 'lov' , label : 'Genre' , width : 38 , inMany : true ,
@@ -43,17 +47,6 @@ uiModels.comics = {
4347 { id : 'wwest' , text : 'Western' }
4448 ]
4549 } ,
46- {
47- id : 'authors' , attribute : 'authors' , type : 'text' , width : 62 , inMany : true ,
48- label : 'Authors'
49- } ,
50- {
51- id : 'language' , attribute : 'language' , type : 'lov' , label : 'Language' , width : 38 , inMany : true ,
52- list : [
53- { id : 'FR' , text : 'French' , icon :'flag_fr.gif' } ,
54- { id : 'EN' , text : 'American' , icon :'flag_us.gif' }
55- ]
56- } ,
5750 {
5851 id : 'serie_nb' , attribute : 'serie_nb' , type : 'integer' , width : 15 , inMany : false ,
5952 label : 'Albums' , inCharts :false
@@ -74,8 +67,16 @@ uiModels.comics = {
7467 id : 'finished' , attribute : 'finished' , type : 'boolean' , width : 19 , inMany : true ,
7568 label : 'Finished' , labelTrue :'Finished' , labelFalse :'Not finished' , css :'cBlue'
7669 } ,
70+
71+ {
72+ id : 'language' , attribute : 'language' , type : 'lov' , label : 'Language' , width : 30 , inMany : true ,
73+ list : [
74+ { id : 'FR' , text : 'French' , icon :'flag_fr.gif' } ,
75+ { id : 'EN' , text : 'American' , icon :'flag_us.gif' }
76+ ]
77+ } ,
7778 {
78- id :'amazon' , label :'Amazon' , type :'formula' , width :62 , css :'evol-ellipsis' ,
79+ id :'amazon' , label :'Amazon' , type :'formula' , width :32 , css :'evol-ellipsis' ,
7980 formula :function ( m ) {
8081 if ( m ) {
8182 var urlData = m . get ( 'title' ) + ' ' + ( m . get ( 'authors' ) || '' ) ,
0 commit comments