Skip to content
GitLab
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
c7a9f423
Commit
c7a9f423
authored
Jun 13, 2014
by
Leigh B Stoller
Browse files
The URL is now p/pid/name for public profiles.
parent
20c076b5
Changes
1
Hide whitespace changes
Inline
Side-by-side
www/aptui/profile_defs.php
View file @
c7a9f423
...
...
@@ -160,7 +160,14 @@ class Profile
$uuid
=
$this
->
uuid
();
return
"
$APTBASE
/p/
$uuid
"
;
if
(
$this
->
ispublic
())
{
$pid
=
$this
->
pid
();
$name
=
$this
->
name
();
return
"
$APTBASE
/p/
$pid
/
$name
"
;
}
else
{
return
"
$APTBASE
/p/
$uuid
"
;
}
}
}
?>
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment