projects
/
pharext
/
pharext.org
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
views: fix base url to omit scheme for when we connect through a https gateway
[pharext/pharext.org]
/
app
/
views
/
github
/
repo.phtml
diff --git
a/app/views/github/repo.phtml
b/app/views/github/repo.phtml
index fff952d75cdafab28b194e9a7fdcef3f955e6cfe..21d640c317d8881f111b0a6525a7682ec9f3ad42 100644
(file)
--- a/
app/views/github/repo.phtml
+++ b/
app/views/github/repo.phtml
@@
-1,4
+1,4
@@
-<?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="page-header">
<h1>
@@
-116,7
+116,7
@@
<div class="col-sm-6">
<div class="row">
<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">
<div class="col-sm-6">
<h4>PHARext Options:</h4>
<div class="checkbox">
@@
-166,7
+166,7
@@
<!-- column wrapping! -->
<?php if ($this->check($repo)) : ?>
<div class="col-sm-6">
<!-- 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
<button class="btn btn-lg btn-block btn-danger">
<span class="glyphicon glyphicon-remove-circle"></span>
Remove Hook
@@
-240,7
+240,7
@@
<?php endforeach; ?>
</ul>
<?php else: ?>
<?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">
<input type="hidden" name="tag" value="<?= $this->e($v->tag->name) ?>">
<div class="checkbox">
<label for="hook-zend">