-
-
Save ss23/075d3a8b2a5c03063502 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% with Project %> | |
<ul class="nav level-2"> | |
<% if Environments %> | |
<% loop Environments %> | |
<li><% if CanDeploy %><a href="$Link">$Name</a><% else %>$Name<% end_if %></li> | |
<% end_loop %> | |
<% end_if %> | |
[...] | |
<% end_with %> | |
--- | |
<?php | |
class Envrionment { | |
... | |
function Link() { | |
return $this->Project()->Link()."/environment/" . $this->Name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment