[Isocial-svn] SF.net SVN: isocial: [253] public/stylesheets/groupapp
Status: Pre-Alpha
Brought to you by:
aguidrevitch
From: <di...@us...> - 2008-06-26 10:43:00
|
Revision: 253 http://isocial.svn.sourceforge.net/isocial/?rev=253&view=rev Author: dim0s77 Date: 2008-06-26 03:43:07 -0700 (Thu, 26 Jun 2008) Log Message: ----------- minor fixes Modified Paths: -------------- app/controllers/groupapp/group_controller.php app/views/groupapp/group/browse.tpl public/stylesheets/common/Layout.css public/stylesheets/groupapp/Group.css Modified: app/controllers/groupapp/group_controller.php =================================================================== --- app/controllers/groupapp/group_controller.php 2008-06-25 19:06:47 UTC (rev 252) +++ app/controllers/groupapp/group_controller.php 2008-06-26 10:43:07 UTC (rev 253) @@ -262,6 +262,7 @@ $this->group_types[] = $gt; } else if (!empty($this->params['g'])) { if (is_numeric($this->params['g']) && $group_type->parent_id == $this->params['g']) { + $this->group_id = $this->params['g']; $this->subgroup_types[] = $gt; if (isset($this->params['sg']) && is_numeric($this->params['sg'])) { $this->subgroup_id = $this->params['sg']; Modified: app/views/groupapp/group/browse.tpl =================================================================== --- app/views/groupapp/group/browse.tpl 2008-06-25 19:06:47 UTC (rev 252) +++ app/views/groupapp/group/browse.tpl 2008-06-26 10:43:07 UTC (rev 253) @@ -9,12 +9,16 @@ <div class="two_column"> <div class="right_small"> <div class="right_content"> + <div class="filter_text">_{Filter groups by}:</div> + <div class="filter_name">_{Type}</div> + <?= $form_options_helper->select('browse_groups', 'g', $PoliticalView->collect($PoliticalView->find(), 'name', 'id'), array(), array('prompt' => $controller->t('Select Political Views:')) )?> <ul class="actions_list"> {loop group_types} <li><a href="/groupapp/group/browse?g={group_type-id?}">{group_type-name}</a></li> {end} </ul> - <ul class="groups_list"> + <div class="filter_name">_{Subtype}</div> + <ul class="subgroups_list"> <? if ($subgroup_id == 0) { ?> <li><strong>_{All}</strong></li> <? } else { ?> Modified: public/stylesheets/common/Layout.css =================================================================== --- public/stylesheets/common/Layout.css 2008-06-25 19:06:47 UTC (rev 252) +++ public/stylesheets/common/Layout.css 2008-06-26 10:43:07 UTC (rev 253) @@ -24,5 +24,5 @@ } .right_content { - padding: 10px 20px 10px 5px; + padding: 10px 10px 10px 5px; } Modified: public/stylesheets/groupapp/Group.css =================================================================== --- public/stylesheets/groupapp/Group.css 2008-06-25 19:06:47 UTC (rev 252) +++ public/stylesheets/groupapp/Group.css 2008-06-26 10:43:07 UTC (rev 253) @@ -177,15 +177,14 @@ margin-bottom: 10px; } -.groups_list ul { +.subgroups_list { list-style: none; - padding-left: 0px; - margin: 0px; + margin: 0px 0px 10px 0px; + padding: 0px; } -.groups_list li { - display: block; - padding: 5px 10px 5px 10px; +.subgroups_list li { + padding: 5px 0px 5px 0px; } .other { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |