srchub-old

srchub-old Commit Details


Date:2013-08-03 22:58:00 (11 years 11 months ago)
Author:Natalie Adams
Branch:default
Commit:92d32d3d5560
Parents: 60c6cf57da73
Message:Fixing issue 12

Changes:
Mindefero/src/IDF/Views.php (1 diff)
Mindefero/src/IDF/templates/idf/user/public.html (2 diffs)

File differences

indefero/src/IDF/Views.php
477477
478478
479479
480
481
482
483
480
481
482
483
484
485
486
487
488
484489
485490
486491
                $ids[] = $row->model_id;
            }
        }
        $sql = new Pluf_SQL(sprintf("id IN (%s)", implode(", ", $ids)));
        return Pluf::factory('IDF_Project')->getList(array(
            'filter'=> $sql->gen(),
        ));
        if (count($ids) > 0)
        {
            $sql = new Pluf_SQL(sprintf("id IN (%s)", implode(", ", $ids)));
            return Pluf::factory('IDF_Project')->getList(array(
                'filter'=> $sql->gen(),
            ));
        } else {
            return null;
        }
    }
    /**
indefero/src/IDF/templates/idf/user/public.html
4646
4747
4848
49
4950
5051
5152
......
5556
5657
5758
59
60
61
62
63
64
65
5866
5967
6068
</table>
Projects:
<table class="form">
{if $projects}
{foreach $projects as $p}
{if $p.private == 0}
<tr>
</tr>
{/if}
{/foreach}
{else}
    <tr>
        <td>
            This user is not working on any projects
        </td>
    </tr>
{/if}
</table>
Issues user is working on:<br/><br/>
{$issues.render}

Archive Download the corresponding diff file

Branches

Tags

Page rendered in 0.73773s using 20 queries.