Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
882bf6f6
Commit
882bf6f6
authored
Jan 26, 2015
by
Leigh B Stoller
Browse files
Show nonlocal_id in display.
parent
a1053e71
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/project_defs.php
View file @
882bf6f6
<?php
#
# Copyright (c) 2006-201
4
University of Utah and the Flux Group.
# Copyright (c) 2006-201
5
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -162,6 +162,7 @@ class Project
function
linked_to_us
()
{
return
$this
->
field
(
"linked_to_us"
);
}
function
cvsrepo_public
(){
return
$this
->
field
(
"cvsrepo_public"
);
}
function
allow_workbench
(){
return
$this
->
field
(
"allow_workbench"
);
}
function
nonlocal_id
()
{
return
$this
->
field
(
"nonlocal_id"
);
}
function
genesis
()
{
return
$this
->
field
(
"genesis"
);
}
function
isAPT
()
{
return
$this
->
genesis
()
==
"aptlab"
?
1
:
0
;
}
function
isCloud
()
{
return
$this
->
genesis
()
==
"cloudlab"
?
1
:
0
;
}
...
...
@@ -682,6 +683,7 @@ class Project
$cvsrepo_public
=
$this
->
cvsrepo_public
();
$allow_workbench
=
$this
->
allow_workbench
();
$genesis
=
$this
->
genesis
();
$nonlocal_id
=
$this
->
nonlocal_id
();
# Before project approval, display ron/plab request status.
if
(
$this
->
approved
())
{
...
...
@@ -720,6 +722,13 @@ class Project
<a href='
$showproj_url
'>
$pid
(
$proj_idx
)</a></td>
</tr>
\n
"
;
if
(
$nonlocal_id
)
{
echo
"<tr>
<td>Nonlocal ID:</td>
<td>
$nonlocal_id
</td>
</tr>
\n
"
;
}
echo
"<tr>
<td>Description: </td>
<td class=
\"
left
\"
>
$proj_name
</td>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment