foundershub/StartupWeekendBundle

View on GitHub
Resources/views/partials/index/judges.html.twig

Summary

Maintainability
Test Coverage
{% if startupweekend_content('Judge')|length > 0 %}
    <section id="judges" class="x-section white-bg">
        <div class="container">
            <div class="row">
                <div class="span12">
                    <div class="module-header jury-header">
                        <h4>Judges</h4>
                    </div>
                </div>
                
                <div class="span12 hero-unit text-center">
                    <h2>This is the Jury</h2>
                </div>

                <div class="span12">
                    <div class="divider-space"></div>
                </div>

                <!-- START PEOPLES -->
                <div class="span12">
                    <div class="people-container">
                        {% for person in startupweekend_content('Judge') %}
                        <!-- Profile START -->
                        <div class="span3">
                            <div class="profile-padding">
                                <div class="profile">
                                    <div class="foreground">
                                        <div class="l-box">
                                                <img class="profile-img" src="{{ person.avatar.file.thumbnails.person }}" alt=" {{ person.firstName }}">
                                            <hr class="p-hr">
                                            <h3 class="p-name">{{ person.firstName }}</h3>

                                            {% if person.company is defined %}
                                                <h4 class="p-company">{{ person.company }}</h4>
                                            {% endif %}

                                            {% if person.occupation is defined %}
                                                <h5 class="p-position">{{ person.occupation }}</h5>
                                            {% endif %}
                                        </div>                                    
                                    </div>
                                    <div class="background">
                                        <div class="l-box">
                                            <h2 class="p-description-title">{{ person.firstName }}</h2>
                                            <p class="p-description">
                                                {% if person.shortBio is defined %}
                                                    {{ person.shortBio }}
                                                {% else %}
                                                    Get to know more about this person at the Event.
                                                {% endif %}
                                            </p>

                                            <div class="p-social">
                                                {% if person.urlFacebook is defined %}
                                                <div class="p-social-tab p-social-facebook">
                                                    <a href="#" class="icon-wrap small facebook" title="Facebook">
                                                        <i class="iconf-facebook"></i>
                                                    </a>
                                                </div>
                                                {% endif %}

                                                {% if person.urlTwitter is defined %}
                                                <div class="p-social-tab p-social-twitter">
                                                    <a href="#" class="icon-wrap small twitter" title="Twitter">
                                                        <i class="iconf-twitter"></i>
                                                    </a>
                                                </div>
                                                {% endif %}

                                                {% if person.urlGoogle is defined %}
                                                <div class="p-social-tab p-social-google">
                                                    <a href="#" class="icon-wrap small google" title="Google+">
                                                        <i class="iconf-gplus"></i>
                                                    </a>
                                                </div>
                                                {% endif %}

                                                {% if person.urlLinkedIn is defined %}
                                                <div class="p-social-tab p-social-linkedin">
                                                    <a href="#" class="icon-wrap small linkedin" title="LinkedIn">
                                                        <i class="iconf-linkedin"></i>
                                                    </a>
                                                </div>
                                                {% endif %}
                                            </div>

                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <!-- Profile END -->
                        {% endfor %}
                    </div>
                </div>
                <!-- END PEOPLES -->
            </div>
        </div>
    </section>
{% endif %}