Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Curriculum-Request
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tim Steiner
Curriculum-Request
Commits
0da2c4a6
Commit
0da2c4a6
authored
15 years ago
by
Tim Steiner
Browse files
Options
Downloads
Patches
Plain Diff
Sort request type sections alphabetically on the "My Requests" page.
parent
e6d799c9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
application/modules/requests/views/scripts/index/index.phtml
+12
-3
12 additions, 3 deletions
application/modules/requests/views/scripts/index/index.phtml
with
12 additions
and
3 deletions
application/modules/requests/views/scripts/index/index.phtml
+
12
−
3
View file @
0da2c4a6
...
...
@@ -113,7 +113,10 @@
<?php
if
(
count
(
$this
->
userRequests
)
==
0
)
{
?>
<h2>
You currently have no requests.
</h2>
<?php
}
else
{
?>
<?php
foreach
(
$this
->
userRequests
as
$requestType
=>
$requests
)
{
?>
<?php
ksort
(
$this
->
userRequests
);
foreach
(
$this
->
userRequests
as
$requestType
=>
$requests
)
{
?>
<table
class=
"course_list"
>
<caption>
<?php
echo
$requestType
;
?>
</caption>
<tr>
...
...
@@ -269,7 +272,10 @@ foreach($this->roles as $roleData) {
<div
class=
"setAllDecisions"
>
<?php
echo
$this
->
formSubmit
(
'submit'
,
'Submit Decisions'
);
?>
</div>
<?php
foreach
(
$requests
as
$requestType
=>
$requestList
)
{
?>
<?php
ksort
(
$requests
);
foreach
(
$requests
as
$requestType
=>
$requestList
)
{
?>
<table
class=
"course_list"
>
<caption>
<?php
echo
$requestType
;
?>
</caption>
<tr>
...
...
@@ -385,7 +391,10 @@ foreach($this->roles as $roleData) {
</form>
<?php
}
?>
<?php
if
(
count
(
$watchingRequests
)
>
0
)
{
?>
<?php
foreach
(
$watchingRequests
as
$requestType
=>
$requestList
)
{
?>
<?php
ksort
(
$watchingRequests
);
foreach
(
$watchingRequests
as
$requestType
=>
$requestList
)
{
?>
<table
class=
"course_list"
>
<caption>
<?php
echo
$requestType
;
?>
</caption>
<tr>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment