-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from pilot/task-19
- Loading branch information
Showing
5 changed files
with
90 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
src/Event/EventBundle/Resources/views/Event/_speech-modal.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<div class="modal fade" id="speech-{{ entry.speech_id }}"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | ||
<h4 class="modal-title">{{ entry.speech_title }} <small>({{ entry.speech_language|default('en'|trans) }})</small></h4> | ||
</div> | ||
<div class="modal-body" id="speaker-info"> | ||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<h4>Description</h4> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<p>{{ entry.speech_description ? entry.speech_description : entry.speech_title }}</p> | ||
</div> | ||
</div> | ||
<hr> | ||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<h4>Speaker</h4> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-sm-3 text-left"> | ||
<img class="img-circle" data-src="holder.js/160x160/text:{{ entry.speaker_fullName }}" src="{{ entry.speaker_photo ?: '' }}" width="100" /> | ||
</div> | ||
<div class="col-sm-9 text-left"> | ||
<a href="{{ entry.speaker_homepage }}">{{ entry.speaker_fullName }}</a> | ||
<p><small>{{ entry.speaker_company }} ({{ entry.speaker_position }})</small></p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
39 changes: 39 additions & 0 deletions
39
src/Event/EventBundle/Resources/views/Event/_sponsor-modal.html.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<div class="modal fade" id="company-{{ sponsor.id }}"> | ||
<div class="modal-dialog"> | ||
<div class="modal-content"> | ||
<div class="modal-header"> | ||
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button> | ||
<h4 class="modal-title"> | ||
{{ sponsor.company }} | ||
</h4> | ||
{% if sponsor.homepage %} | ||
<small><a href="{{ sponsor.homepage }}">{{ sponsor.homepage }}</a></small> | ||
{% endif %} | ||
</div> | ||
<div class="modal-body" id="speaker-info"> | ||
<div class="row"> | ||
<div class="col-sm-12 ta-center"> | ||
<a href="{{ sponsor.homepage }}"> | ||
<span id="face-wrapper"> | ||
<img class="img-circle face" data-src="holder.js/160x160/text:{{ sponsor.company }}" src="{{ sponsor.logo ?: '' }}" height="160" width="160" /> | ||
</span> | ||
</a> | ||
</div> | ||
</div> | ||
{% if sponsor.description %} | ||
<hr> | ||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<h4>Description</h4> | ||
</div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-sm-12"> | ||
<p>{{ sponsor.description|nl2br|raw }}</p> | ||
</div> | ||
</div> | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> |