Skip to content

Commit

Permalink
Merge pull request #117 from aceleradora-TW/insere-box-aulas
Browse files Browse the repository at this point in the history
<@KarenF> insere box nas aulas do curso #100
  • Loading branch information
ClaudiaStrm authored Nov 17, 2017
2 parents 1a7791c + 3b3c534 commit 61da78b
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 22 deletions.
2 changes: 1 addition & 1 deletion views/partials/contentFirstColumn.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
{{#contentItem}}
<div class="level-item has-text-centered">
<div>
<p class="subtitle">Views: {{ views }}</p>
<p class="subtitle">Visualizações: {{ views }}</p>
{{/contentItem}}
</div>
</div>
Expand Down
42 changes: 22 additions & 20 deletions views/partials/contentSecondColumn.handlebars
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
<div class="tile is-parent">
<article class="tile is-child notification">
<div class="content">
<h5 class="subtitle has-text-dark">Outras aulas:</h5>
<div class="playlist-container">
<ul>
<div class="box-radius">
<article class="tile is-child notification">
<div class="content">
<h5 class="subtitle has-text-dark">Outras aulas:</h5>
<div class="playlist-container">
<ul>
{{#allContents}}
<li class="thumbnail-align">
<a href="/content/{{ id }}">
<img src="http://i1.ytimg.com/vi/{{ url }}/mqdefault.jpg" alt="Link para a aula {{ title }}">
<div class="title-video">{{ title }}</div>
<p class="preview"> {{ preview }}</p>
</a>
</li>
{{/allContents}}
</ul>
{{#allContents}}
<li class="thumbnail-align">
<a href="/content/{{ id }}">
<img src="http://i1.ytimg.com/vi/{{ url }}/mqdefault.jpg" alt="">
<div class="title-video">{{ title }}</div>
<p class="preview"> {{ preview }}</p>
</a>
</li>
{{/allContents}}
</ul>
{{#allContents}}
{{else}}
<p class="subtitle is-6"> Não possui próximas aulas</p>
{{else}}
<p class="subtitle is-6"> Não possui próximas aulas</p>
</div>
{{/allContents}}
</div>
{{/allContents}}
</div>
</article>
</article>
</div>
</div>
1 change: 0 additions & 1 deletion views/partials/hero.handlebars
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{{> header}}
<div class="hero-body">
<div class="container">
aaaaa
</div>
</div>
</section>

0 comments on commit 61da78b

Please sign in to comment.