indexout.tpl 3.38 KB
Newer Older
Naomi Guyer's avatar
Naomi Guyer committed
1
{include file="header.tpl"}
2
<a title="{str section='artefact.multirecipientnotification' tag='composemessagedesc'}" class="btn-with-heading btn-lg btn btn-default" href="{$WWWROOT}artefact/multirecipientnotification/sendmessage.php">
3
    <span class="icon icon-edit"></span>
Naomi Guyer's avatar
Naomi Guyer committed
4 5
    {str section='artefact.multirecipientnotification' tag='composemessage'}
</a>
Naomi Guyer's avatar
Naomi Guyer committed
6

Naomi Guyer's avatar
Naomi Guyer committed
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26

{if $activitylist.count > 0}

    <div id="notifications" class="ptl notification-parent">

        <div class="btn-group pull-left mbl" role="group">
            <label class="btn btn-default" for="selectall">
                <input type="checkbox" name="selectall" id="selectall" data-togglecheckbox="tocheck">
                <span class="sr-only">{str section='activity' tag='selectall'}</span>
            </label>

            <button type="button" class="btn btn-default" data-toggle="dropdown" aria-expanded="false">
                {str section='admin' tag='bulkactions'}
            </button>
            <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
                <span class="caret"></span>
            </button>

            <div class="activity-buttons dropdown-menu" role="menu">
                <button class="btn btn-link btn-link-danger" data-action="deleteselected">
Pat Kira's avatar
Pat Kira committed
27
                    {str tag='delete'}
Naomi Guyer's avatar
Naomi Guyer committed
28 29 30 31 32
                </button>

                <a href="#delete_all_notifications_submit" class="btn btn-link btn-link-danger" data-triggersubmit="delete_all_notifications_submit">
                    {str section='activity' tag='deleteallnotifications'}
                </a>
Pat Kira's avatar
Pat Kira committed
33 34
            </div>
        </div>
35

Naomi Guyer's avatar
Naomi Guyer committed
36 37 38 39 40 41 42 43 44
        <form class="form-notificationlist pbl ptl" name="notificationlist" method="post">
            <div id="activitylist" class="notification-list"{if $paginatorData } data-paginator='{$paginatorData}'{/if}>
                {$activitylist['html']|safe}
            </div>
        </form>

        {$deleteall|safe}
        <div class="pull-right">
            {$activitylist['pagination']|safe}
Pat Kira's avatar
Pat Kira committed
45
        </div>
Naomi Guyer's avatar
Naomi Guyer committed
46
        <form method="post" class="form-inline form-select-filter pieform">
Naomi Guyer's avatar
Naomi Guyer committed
47 48
            <div class="form-group">
                <label for="notifications_type">{str section='activity' tag='type'}:</label>
Naomi Guyer's avatar
Naomi Guyer committed
49 50
                <div class="input-group select-group with-help">
                    <div class="input-group-addon" id="icon-addon-filter">
51
                        <span class="icon icon-filter"></span>
Naomi Guyer's avatar
Naomi Guyer committed
52 53 54 55 56 57 58 59 60 61 62 63 64
                    </div>
                    <div class="select form-group">
                        <div class="picker">
                            <select class="form-control select" id="notifications_type" name="type">
                            {foreach from=$options item=name key=t}
                                <option value="{$t}"{if $type == $t} selected{/if}>
                                    {$name}
                                </option>
                            {/foreach}
                            </select>
                        </div>
                    </div>
                    {contextualhelp plugintype='core' pluginname='activity' section='activitytypeselect'}
Naomi Guyer's avatar
Naomi Guyer committed
65 66 67 68 69 70 71 72 73
                </div>
            </div>
        </form>
    </div>
{else}
<div class="mtxl ptxl" id="notifications">
    <p class="lead mtxl ptxl text-center ">
          {str section='activity' tag='youroutboxisempty'}
    </p>
Naomi Guyer's avatar
Naomi Guyer committed
74
</div>
Naomi Guyer's avatar
Naomi Guyer committed
75 76
{/if}

Naomi Guyer's avatar
Naomi Guyer committed
77 78

{include file="footer.tpl"}