Subversion-Projekte lars-tiefland.ci

Revision

Revision 2237 | Blame | Vergleich mit vorheriger | Letzte Änderung | Log anzeigen | RSS feed

<!-- $Id: termineTable.tpl 2415 2020-06-01 10:28:43Z lars $ BEGIN -->
    <table style="width:100%" class="termineTable">
        <thead>
            <tr>
                <th>Status</th>
                <th>Priorit&auml;t</th>
                <th>Betreff</th>
                <th>erstellt</th>
                <th>Ersteller</th>
                <th>Termin</th>
                <th></th>
            </tr>
        </thead>
        <tbody>
            {foreach $termine as $termin}
            <tr>
                <td>
                    <div id="status_{$termin.ID}" class="status" style="cursor:pointer;float:left;width:20px;height:15px;">
                        {if $termin.status=="offen"}
                        {if $statusGelesen===true}
                        &nbsp;
                        {else}
                        <img src="/images/Icons/icon-rote-fahne.png"/>
                        {/if}
                        {elseif $termin.status=="gelesen"}
                        <img src="/images/Icons/icon-rote-fahne.png"/>
                        {elseif $termin.status=="erledigt"}
                        <img src="/images/Icons/icon-gruener-haken.png"/>
                        {/if}
                    </div>
                </td>
                <td>{$termin.prioritaet}</td>
                <td>
                    <div>
                    <div style="float:left;">
                        <a href="{$termin.deeplink}" target="_blank" class="ui-icon ui-icon-link" title="{$termin.deeplink}"></a>
                    </div>
                    <div id="headline_{$termin.ID}" class="head" style="float:left;">{$termin.ueberschrift}</div>
                    </div>
                    <div id="body_{$termin.ID}" class="body" style="display:none;clear:both;">{$termin.nachricht|nl2br}</div>
                </td>
                <td>
                    <div style="display:none;">{$termin.erstellt_am|strtotime}</div>
                    {$termin.erstellt_am|date_format:"d.m.Y H:i"}
                </td>
                <td>
                    {$termin.ersteller}
                </td>
                <td>
                    <div style="display:none;">{$termin.faelligkeit|strtotime}</div>
                    {$termin.faelligkeit|date_format:"d.m.Y H:i"}
                </td>
                <td style="width:90px!important;">
                    <div>
                        <div id="person_{$termin.ID}" class="ui-icon ui-icon-person"></div>
                        {if !isset($web_rechte.Termine.termine.papierkorb) || isset($user_rechte.Termine.termine.papierkorb)}
                        <div id="del_{$termin.ID}" class="ui-icon ui-icon-trash"></div>
                        {/if}
                    </div>
                </td>
            </tr>
            {/foreach}
        </tbody>
    </table>
<!-- $Id: termineTable.tpl 2415 2020-06-01 10:28:43Z lars $ END -->