Commit 6960ea0d authored by Robert Lyon's avatar Robert Lyon Committed by Kristina Hoeppner
Browse files

Bug 2007897: Use different icons for the sumbission states



When viewing the portfolios on the index page

Signed-off-by: default avatarRobert Lyon <robertl@catalyst.net.nz>
Change-Id: I8c0a9d4ac25dfabca22e163fbe9e865252ad5065
parent 58e65027
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -889,6 +889,10 @@ $string['collapsespecific'] = 'Collapse %s';
$string['more...'] = 'More...';
$string['moreoptions'] = 'More options';
$string['moreoptionsfor'] = 'More options for "%s"';
$string['submittedinfo'] = 'Submission information';
$string['submittedinfofor'] = 'Submission information for "%s"';
$string['releasedinfo'] = 'Release options';
$string['releasedinfofor'] = 'RElease options for "%s"';
$string['details'] = 'details';
$string['Details'] = 'Details';
$string['nohelpfound'] = 'There was no help found for this item.';
+16 −0
Original line number Diff line number Diff line
@@ -116,12 +116,28 @@
                            </div>
                            {/if}
                            <div class="page-controls">
                                {if $view.submittedto}
                                <button class="dropdown-toggle btn btn-link moremenu" type="button"
                                    data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{str tag='submittedinfo' section='mahara'}">
                                    <span class="icon icon-chevron-down open-indicator" role="presentation" aria-hidden="true"></span>
                                    <span class="icon icon-check-to-slot close-indicator" role="presentation" aria-hidden="true"></span>
                                    <span class="visually-hidden">{str tag=submittedinfofor section=mahara arg1="$view.vtitle"}</span>
                                </button>
                                {elseif $view.issubmission}
                                <button class="dropdown-toggle btn btn-link moremenu" type="button"
                                    data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{str tag='releasedinfo' section='mahara'}">
                                    <span class="icon icon-chevron-down open-indicator" role="presentation" aria-hidden="true"></span>
                                    <span class="icon icon-square-check close-indicator" role="presentation" aria-hidden="true"></span>
                                    <span class="visually-hidden">{str tag=releasedinfofor section=mahara arg1="$view.vtitle"}</span>
                                </button>
                                {else}
                                <button class="dropdown-toggle btn btn-link moremenu" type="button"
                                    data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{str tag='moreoptions' section='mahara'}">
                                    <span class="icon icon-chevron-down open-indicator" role="presentation" aria-hidden="true"></span>
                                    <span class="icon icon-ellipsis-v close-indicator" role="presentation" aria-hidden="true"></span>
                                    <span class="visually-hidden">{str tag=moreoptionsfor section=mahara arg1="$view.vtitle"}</span>
                                </button>
                                {/if}
                                <ul class="dropdown-menu dropdown-menu-end" role="menu">
                                {if $view.collid && !$view.submittedto && !$noedit && !$view.lockedcoll && !$view.issubmission}
                                    <li class="dropdown-item with-icon">