|
58 | 58 | </div>
|
59 | 59 | <input type="submit" value="Check In" class="btn btn-success">
|
60 | 60 | </form>
|
| 61 | + |
| 62 | + {if count($currentMeetup.checkins)} |
61 | 63 | <div class="checkins">
|
62 | 64 | <h3>{_ "Checked-in Members"}</h3>
|
63 | 65 |
|
64 |
| - {* |
65 |
| -
|
66 | 66 | {$lastProjectID = false}
|
67 |
| - <dl class="checkins-list"> |
68 |
| - <dt class="checkins-list-title">{_ "No Current Project"}</dt> |
69 |
| - {foreach item=Checkin from=$currentMeetup.checkins} |
70 |
| - {if $Checkin->Project && $Checkin->ProjectID != $lastProjectID} |
71 |
| - <dt class="checkins-list-title">{projectLink $Checkin->Project}</dt> |
72 |
| - {$lastProjectID = $Checkin->ProjectID} |
| 67 | + |
| 68 | + {foreach item=Checkin from=$currentMeetup.checkins} |
| 69 | + {if $Checkin->ProjectID !== $lastProjectID} |
| 70 | + {tif !$.foreach.default.first ? '</ul>'} |
| 71 | + <h4> |
| 72 | + {if $Checkin->Project} |
| 73 | + {projectLink $Checkin->Project} |
| 74 | + {else} |
| 75 | + No Current Project |
73 | 76 | {/if}
|
74 |
| - <dd class="checkins-list-person">{personLink $Checkin->Member photo=yes photoSize=64 linkCls="thumbnail"}</dd> |
75 |
| - {/foreach} |
76 |
| - </dl> |
77 |
| -
|
78 |
| - *} |
79 |
| - |
80 |
| - <h4>No Current Project</h4> |
81 |
| - |
82 |
| - <h4><a href="/projects/example_project-4">Example Project</a></h4> |
83 |
| - <ul class="row list-unstyled"> |
84 |
| - <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/chris" title="Chris Alfano" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/36b6d909c0c65d4fcdfcc307b84fb06f?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Chris Alfano</span></a></li> |
85 |
| - <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/chris" title="Chris Alfano" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/36b6d909c0c65d4fcdfcc307b84fb06f?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Chris Alfano</span></a></li> |
86 |
| - <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/kurt" title="Kurt Gawinowicz" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/5d5ff5fd825a914d5057562aec05eb9b?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Kurt Gawinowicz</span></a></li> |
87 |
| - <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/kurt" title="Kurt Gawinowicz" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/5d5ff5fd825a914d5057562aec05eb9b?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Kurt Gawinowicz</span></a></li> |
88 |
| - <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/chris" title="Chris Alfano" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/36b6d909c0c65d4fcdfcc307b84fb06f?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Chris Alfano</span></a></li> |
89 |
| - <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/kurt" title="Kurt Gawinowicz" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/5d5ff5fd825a914d5057562aec05eb9b?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Kurt Gawinowicz</span></a></li> |
| 77 | + </h4> |
| 78 | + |
| 79 | + {$lastProjectID = $Checkin->ProjectID} |
| 80 | + |
| 81 | + <ul class="row list-unstyled"> |
| 82 | + {/if} |
| 83 | + |
| 84 | + <li class="col-xs-6 col-sm-4 col-md-3"> |
| 85 | + {personLink $Checkin->Member photo=yes photoSize=64 linkCls="thumbnail"} |
| 86 | + </li> |
| 87 | + {/foreach} |
| 88 | + |
90 | 89 | </ul>
|
91 | 90 |
|
92 | 91 | </div>
|
| 92 | + {/if} |
| 93 | + |
93 | 94 | </div>
|
94 | 95 | </div>
|
95 | 96 | {/if}
|
|
114 | 115 |
|
115 | 116 | <h4>Projects</h4>
|
116 | 117 | <h5><a href="/projects/example_project-4">Example Project</a></h5>
|
117 |
| - <ul class="row list-unstyled"> |
| 118 | + <ul class="row list-unstyled"> |
118 | 119 | <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/chris" title="Chris Alfano" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/36b6d909c0c65d4fcdfcc307b84fb06f?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Chris Alfano</span></a></li>
|
119 | 120 | <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/chris" title="Chris Alfano" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/36b6d909c0c65d4fcdfcc307b84fb06f?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Chris Alfano</span></a></li>
|
120 | 121 | <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/kurt" title="Kurt Gawinowicz" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/5d5ff5fd825a914d5057562aec05eb9b?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Kurt Gawinowicz</span></a></li>
|
|
124 | 125 | </ul>
|
125 | 126 |
|
126 | 127 | <h4>New Projects</h4>
|
127 |
| - <ul class="padding-bottom"> |
| 128 | + <ul class="padding-bottom"> |
128 | 129 | <li><a href="#">Example Project 2</a></li>
|
129 | 130 | <li><a href="#">Example Project 3</a></li>
|
130 | 131 | <li><a href="#">Example Project 4</a></li>
|
131 | 132 | <li><a href="#">Example Project 5</a></li>
|
132 | 133 | </ul>
|
133 | 134 |
|
134 | 135 | <h4>New Members</h4>
|
135 |
| - <ul class="row list-unstyled"> |
| 136 | + <ul class="row list-unstyled"> |
136 | 137 | <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/chris" title="Chris Alfano" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/36b6d909c0c65d4fcdfcc307b84fb06f?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Chris Alfano</span></a></li>
|
137 | 138 | <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/chris" title="Chris Alfano" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/36b6d909c0c65d4fcdfcc307b84fb06f?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Chris Alfano</span></a></li>
|
138 | 139 | <li class="col-xs-6 col-sm-4 col-md-3"><a href="/people/kurt" title="Kurt Gawinowicz" class="thumbnail text-center"><img src="//www.gravatar.com/avatar/5d5ff5fd825a914d5057562aec05eb9b?s=128&r=g&d=mm" class="avatar " width="64" height="64"><span class="name ">Kurt Gawinowicz</span></a></li>
|
|
0 commit comments