Commit 0fc2aafe1dc3cced602183b25eb023f836e54721

Authored by Luigi Serra
1 parent b047d169

updates

controllets/create-card-controllet/create-card-controllet.html
... ... @@ -269,7 +269,7 @@
269 269 ' height="300"' +
270 270 ' type="'+ this.type + '"' +
271 271 ' comment="'+ this.comment + '"' +
272   - ' title="'+ this.title + '">';
  272 + ' card-title="'+ this.title + '">';
273 273 if(this.type == 'link'){
274 274 card += '<preview-datalet data-url="'+ this.link + '" url="'+ this.link + '"></preview-datalet>';
275 275 }else{
... ...
controllets/paper-card-controllet/paper-card-controllet.html
... ... @@ -33,7 +33,7 @@
33 33 height: 21px;
34 34 }
35 35  
36   - .title {
  36 + .legend {
37 37 position: relative;
38 38 top: -50px;
39 39 background: rgba(0,0,0,0.8);
... ... @@ -103,10 +103,10 @@
103 103 <content></content>
104 104 </div>
105 105  
106   - <template is="dom-if" if="{{title}}">
  106 + <template is="dom-if" if="{{cardTitle}}">
107 107  
108   - <div class="title horizontal layout center">
109   - <span>{{title}}</span>
  108 + <div class="legend horizontal layout center">
  109 + <span>{{cardTitle}}</span>
110 110 <!-- Adding icon based on card type -->
111 111  
112 112 <template is="dom-if" if="{{checkType(type, 'text')}}">
... ... @@ -170,7 +170,7 @@
170 170 type: String,
171 171 value: undefined
172 172 },
173   - title:{
  173 + cardTitle:{
174 174 type: String,
175 175 value: undefined
176 176 },
... ...