-<?php $this->layout("layout", ["title" => "Github: {$repo->name}"]) ?>
+<?php $this->layout("layout", ["title" => "Github: ". (isset($repo) ? $repo->name : $name)]) ?>
<div class="page-header">
<h1>
<div class="col-sm-6">
<div class="row">
- <form method="post" action="<?= $baseUrl->mod("./github/repo/". $repo->full_name ."/hook/" . (!empty($hook) ? "upd" : "add")) ?>">
+ <form method="post" action="<?= $baseUrl->mod(":./github/repo/". $repo->full_name ."/hook/" . (!empty($hook) ? "upd" : "add")) ?>">
<div class="col-sm-6">
<h4>PHARext Options:</h4>
<div class="checkbox">
<!-- column wrapping! -->
<?php if ($this->check($repo)) : ?>
<div class="col-sm-6">
- <form method="post" action="<?= $baseUrl->mod("./github/repo/". $repo->full_name ."/hook/del") ?>">
+ <form method="post" action="<?= $baseUrl->mod(":./github/repo/". $repo->full_name ."/hook/del") ?>">
<button class="btn btn-lg btn-block btn-danger">
<span class="glyphicon glyphicon-remove-circle"></span>
Remove Hook
<?php endforeach; ?>
</ul>
<?php else: ?>
- <form class="form-inline pull-right" method="post" action="<?= $baseUrl->mod("./github/repo/". $repo->full_name ."/release") ?>">
+ <form class="form-inline pull-right" method="post" action="<?= $baseUrl->mod(":./github/repo/". $repo->full_name ."/release") ?>">
<input type="hidden" name="tag" value="<?= $this->e($v->tag->name) ?>">
<div class="checkbox">
<label for="hook-zend">