Browse Source

gute nacht

master
Felix Diemar 3 years ago
parent
commit
7dacf0441c
3 changed files with 7 additions and 8 deletions
  1. 2
    2
      app/components/rezept.hbs
  2. 4
    4
      app/models/rezept.js
  3. 1
    2
      app/styles/app.css

+ 2
- 2
app/components/rezept.hbs View File

@@ -10,7 +10,7 @@
{{produkt.attributes.titel}},
{{/each}}Gewürze</li>
<li class="detail"><h4>Personen:</h4>{{@rezept.personen}}</li>
<li class="detail"><h4>Dauer:</h4>{{@rezept.dauer}}</li>
<li class="detail"><h4>Dauer:</h4>{{@rezept.dauer}} Minuten</li>
</ul>
</div>
</span>
@@ -27,7 +27,7 @@
{{produkt.attributes.titel}},
{{/each}}Gewürze</li>
<li class="detail"><h4>Personen:</h4>{{@rezept.personen}} </li>
<li class="detail"><h4>Dauer:</h4>{{@rezept.dauer}}</li>
<li class="detail"><h4>Dauer:</h4>{{@rezept.dauer}} Minuten</li>
</ul>
</div>
</span>

+ 4
- 4
app/models/rezept.js View File

@@ -5,11 +5,11 @@ export default class RezeptModel extends Model {
@attr isSelected;
@attr ('string') beschreibung;
@attr kategorie;
@hasMany('produkt') produkte;
@attr produkte;
@attr gewuerze;
@attr personen;
@attr dauer;
@attr bild;
@attr ('number') personen;
@attr ('number') dauer;
@attr ('string') bild;

get status()
{

+ 1
- 2
app/styles/app.css View File

@@ -182,8 +182,7 @@ p {

.resultsRezept {
display: flex;
flex-direction: row;
flex-direction: column;
width: 100%;
}


Loading…
Cancel
Save