vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit e52c49e9f6633ae4d41dd9776a7aa76cb7457ec3
parent 5c2b71d310d8b037f1a089a2cd0f50d11c7c293c
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Fri, 31 Jul 2015 21:59:03 -0400

updated Level 1 details.

	modified:   as/photography-classes/index.php
	modified:   themes/bs3/templates/p-classes.tpl

Diffstat:
as/photography-classes/index.php | 44+++++++++++++++++++++++++-------------------
themes/bs3/templates/p-classes.tpl | 29+++++++++++++----------------
2 files changed, 38 insertions(+), 35 deletions(-)

diff --git a/as/photography-classes/index.php b/as/photography-classes/index.php @@ -41,12 +41,11 @@ $pc_intro = " <p> A Chennai based nature and wildlife photographer, Vishwa offers training in basic and advanced photography for budding photographers.</p> -<p>'<strong>Apertures & Shutters</strong>' is his start up, which -provides a congenial atmosphere to learn photography. A&amp;S is equipped -with a classroom cum studio floor, lighting equipment and a dedicated -editing room. It is stocked with the latest photography journals and -books. The process of learning never ends and students enjoy continued -online support and reviews post completion of the course.</p> +<p>'<strong>Apertures & Shutters</strong>'is his start up, which +provides a congenial atmosphere to learn photography. A&S is equipped +with a classroom cum studio floor, lighting equipment and an editing +room. It is stocked with the latest photography journals and +books.</p> "; $classes = array(); @@ -55,21 +54,28 @@ $level_1 = array('Duration' => array('road', '2 weekends (6 sessions) &mdash; 3 Classroom sessions + 2 Outdoor sessions + 1 Lightroom Editing session. Post completion of - workshop, continued support through - periodical online reviews and + workshop, online reviews and photo-walks.'), - 'Dates' => array('calendar', 'July 18<sup>th</sup>, 19<sup>th</sup>, 25<sup>th</sup> &amp; 26<sup>th</sup>.'), - 'Classroom Session' => array('time','Saturday 5pm &rArr; 8pm <br/> - Sunday 10am &rArr; 1pm'), - 'Field Session 1' => array('time','Sunday July 19<sup>th</sup>, 5:30am &rArr; 7:30am, Sunrise @ Marina.'), - 'Field Session 2' => array('time','Sunday July 26<sup>th</sup>, 5pm &rArr; 7 30pm, Night Photography @ Marina.'), - 'Venue' => array('map-marker', 'Choolaimedu, Chennai'), + 'Schedule' => array('time', + ' + <ul class="list-unstyled"> + <li>Sep 5, Sat : 4 pm - 7 pm @ Studio</li> + <li>Sep 6, Sun : 6 am - 8 am @ Marina</li> + <li>Sep 6, Sun : 10 am - 1 pm @ Studio</li> + <li>Sep 12, Sat : 4 pm - 7 pm @ Studio</li> + <li>Sep 13, Sun : 10 am - 1 pm @ Studio</li> + <li>Sep 13, Sun : 4 pm - 7 pm @ Marina</li> + </ul>'), 'Course Fee' => array('tag', '<span class="WebRupee"> Rs </span> 4000 (Inclusive of taxes)'), - 'Eligibility' => array('tasks', 'A never ending thirst for photography. <br /> - Possession of a camera is a must, preferably a DSLR.'), + 'Venue' => array('map-marker', + '<p>Door No. 40 (C Block, 1st Floor),<br /> + Lakshmi Apartments,<br /> + 14 Athreyapuram Main Road,<br /> + Choolaimedu,<br /> + Chennai - 600094</p>'), 'Syllabus' => array('book', ' <ul> <li>The \'Art Of Seeing\' The World Around You</li> <li>What To Shoot? Why To Shoot? </li> @@ -93,11 +99,11 @@ $level_1 = array('Duration' => array('road', $l1_notice = 'Classes starts on <strong>15<sup>th</sup> September 2015</strong>'; -$classes['Level 1 - Basic Photography Workshop '] = $level_1; +$classes['Level 1 - Basics of Photography Workshop '] = $level_1; $level_2 = array('Duration' => array('road', '5 Weekends, 10 session course'), - 'Date' => array('calendar','September 2015'), + 'Date' => array('calendar','January 2016'), 'Venue' => array('map-marker', 'Choolaimedu, Chennai'), 'Course Fee' => array('tag', '<span class="WebRupee"> Rs @@ -119,7 +125,7 @@ $level_2 = array('Duration' => array('road', '5 Weekends, 10 session course'), <li> All relevant Post Processing </li></ul>') ); -$l2_notice = 'Classes starts in <strong>September 2015</strong>'; +$l2_notice = 'Classes starts in <strong>January 2016</strong>'; $classes['Level 2 - Advanced Photography Workshop'] = $level_2; diff --git a/themes/bs3/templates/p-classes.tpl b/themes/bs3/templates/p-classes.tpl @@ -82,21 +82,6 @@ {/if} <dl> {foreach $c_info as $field_name => $field_value} - {if $c_info@index == 0 and $field_name == 'Syllabus'} - <dt> - <span class="btn btn-primary btn-xs margin-top"> - <span class="glyphicon glyphicon-{$field_value[0]}"></span> - <span data-toggle="collapse" role="button" - data-target="#syl-{$c_info@index}" class="cursor-pointer" - data-parent="pc-{$c_info@index}" - aria-expanded="false" - aria-controls="syl-{$c_info@index}">See {$field_name}</span> - </span> - </dt> - <dd id="syl-{$c_info@index}" class="collapse"> - {$field_value[1]} - </dd> - {else} <dt> <span class="label label-inverse"> <span class="glyphicon glyphicon-{$field_value[0]}"></span> @@ -106,9 +91,21 @@ <dd> {$field_value[1]} </dd> + {if $c_info@index == 0 and $field_name == 'Course Fee'} + </dl> + <button type="button" class="btn btn-primary btn-sm margin-bottom" data-toggle="collapse" + data-target="#pc-{$c_info@index}-more-details" data-parent="pc-{$c_info@index}" + aria-expanded="false" aria-controls="pc-{$c_info@index}-more-details"> + More Details + </button> + <div id="pc-{$c_info@index}-more-details" class="collapse"> <!-- pc level {$c_info@iteration} more details start --> + <dl> + {/if} + {if $c_info@index == 0 and $field_name == 'Syllabus'} + </dl> + </div> <!-- pc level {$c_info@iteration} more details end --> {/if} {/foreach} - </dl> </div> <!-- pc level {$c_info@iteration} info end --> {if $c_info@index == 0} <button type="button"