X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=app%2Fviews%2Fgithub%2Frepo.phtml;h=9d5f7eb62d49211641093a617f39c853e2045e9a;hb=1097a4f83de3562c3518f31b168448c2c2ac0451;hp=58721bb570fdf3eb7c3b1e33273e8c5031e6973c;hpb=4c462ab66e6c65c15df7bd5fe6d2673884c639a0;p=pharext%2Fpharext.org diff --git a/app/views/github/repo.phtml b/app/views/github/repo.phtml index 58721bb..9d5f7eb 100644 --- a/app/views/github/repo.phtml +++ b/app/views/github/repo.phtml @@ -1,4 +1,4 @@ -layout("layout") ?> +layout("layout", ["title" => "Github: {$repo->name}"]) ?> - - fetch("alert") ?> - -
-
+

e($repo->description) ?>

-
+
-
- +
+
watchers_count ?> Watchers
-
- +
+
stargazers_count ?> Stars
-
- +
+
forks_count ?> Forks @@ -58,12 +54,12 @@
-
+
-
+

Has a config*.m4 file?

-
+

config_m4)) : ?> YES @@ -75,10 +71,10 @@

-
+

Has a package*.xml file?

-
+

package_xml)) : ?> YES @@ -90,10 +86,10 @@

-
+

Has a pharext_package.php file?

-
+

pharext_package_php)) : ?> YES @@ -105,11 +101,11 @@

-
+

Is the pharext hook enabled?

-
- check($repo)) : ?> +
+ YES NO @@ -118,14 +114,66 @@
-
-
-
- -
-
- +
+
+
full_name ."/hook/" . (!empty($hook) ? "upd" : "add")) ?>"> +
+

PHARext Options:

+
+ +
+
"> + +
+
+
+

Hook Options:

+
+ +
+
+ +
+
+ check($repo)) : ?> +
+ +
+ +
+ +
+ +
+ + check($repo)) : ?> +
+
full_name ."/hook/del") ?>"> + +
+
@@ -145,12 +193,14 @@ e($v->tag->name) ?> Tag - e($v->release->name) ?> + e($v->release->name ?: $v->tag->name) ?> Release
+
+
release)) : ?>

md($v->release->body) ?>

@@ -174,8 +224,45 @@ +
+
+
    + release->assets)) : ?> + release->assets as $asset) : ?> + name)) : ?> +
  • + + + e($asset->name) ?> + +
  • + + + +
    full_name ."/release") ?>"> + +
    + +
    +
    "> + +
    + +
    + +
+
+
-