<html lang='en'>
<head>
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
<title>
GitLab
</title>
</meta>
</head>
<style>
  img {
    max-width: 100%;
    height: auto;
  }
  p.details {
    font-style:italic;
    color:#777
  }
  .footer p {
    font-size:small;
    color:#777
  }
  pre.commit-message {
    white-space: pre-wrap;
  }
  .file-stats a {
    text-decoration: none;
  }
  .file-stats .new-file {
    color: #090;
  }
  .file-stats .deleted-file {
    color: #B00;
  }
</style>
<body>
<div class='content'>
<h3>Laurence Sebastian Bowes pushed to branch master at <a href="https://projects.sucs.org/sucssite/sucs-site">sucssite / sucs-site</a></h3>
<h4>
Commits:
</h4>
<ul>
<li>
<strong><a href="https://projects.sucs.org/sucssite/sucs-site/commit/54d868d554fb85506547a84754515092ccde2483">54d868d5</a></strong>
<div>
<span>by Laurence Sebastian Bowes</span>
<i>at 2015-11-11T15:42:05Z</i>
</div>
<pre class='commit-message'>Fix sending out broken links in banana emails</pre>
</li>
</ul>
<h4>2 changed files:</h4>
<ul>
<li class='file-stats'>
<a href='#diff-0'>
components/bananas.php
</a>
</li>
<li class='file-stats'>
<a href='#diff-1'>
lib/banana-admin.php
</a>
</li>
</ul>
<h4>Changes:</h4>
<li id='diff-0'>
<a href='https://projects.sucs.org/sucssite/sucs-site/commit/54d868d554fb85506547a84754515092ccde2483#diff-0'>
<strong>
components/bananas.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/components/bananas.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/components/bananas.php
</span><span style="color: #aaaaaa">@@ -24,6 +24,7 @@ if (count($members->memberView($who)) > 0) {
</span>     header("Location: https://$preferred_hostname$baseurl/Community/Members/$who");
 } else {
     // banana admin bits
<span style="color: #000000;background-color: #ddffdd">+        $isnonmember = true;
</span>     if ($mode == "detail") {
         if ($session->loggedin) {
             include("../lib/banana-admin.php");
<span style="color: #aaaaaa">@@ -37,7 +38,6 @@ if (count($members->memberView($who)) > 0) {
</span> if (isset($who))
     $smarty->assign('who', "$who");
 
<span style="color: #000000;background-color: #ffdddd">-
</span> $smarty->assign('mode', "$mode");
 $smarty->assign('users', $users);
 
</code></pre>

<br>
</li>
<li id='diff-1'>
<a href='https://projects.sucs.org/sucssite/sucs-site/commit/54d868d554fb85506547a84754515092ccde2483#diff-1'>
<strong>
lib/banana-admin.php
</strong>
</a>
<hr>
<pre class="highlight"><code><span style="color: #000000;background-color: #ffdddd">--- a/lib/banana-admin.php
</span><span style="color: #000000;background-color: #ddffdd">+++ b/lib/banana-admin.php
</span><span style="color: #aaaaaa">@@ -51,7 +51,7 @@ if (isset($session->groups[$permission])) {
</span> 
         // Send a mail to someone about them bananas
         $msgbody = $session->username . " thinks $who deserves $number bananas:\r\n";
<span style="color: #000000;background-color: #ffdddd">-        $msgbody .= "\"$why\"\r\n\r\nVisit https://sucs.org/Community/Members/$who if you want to make an award.";
</span><span style="color: #000000;background-color: #ddffdd">+        $msgbody .= "\"$why\"\r\n\r\nVisit https://sucs.org/Community/" . ($isnonmember ? 'Bananas' : 'Members') . "/$who if you want to make an award.";
</span>         mail($contact, "Banana Award Nomination", $msgbody, $msgheaders);
         $smarty->assign("awarded", TRUE);
 
</code></pre>

<br>
</li>

</div>
<div class='footer' style='margin-top: 10px;'>
<p>

<br>
<a href="https://projects.sucs.org/sucssite/sucs-site/commit/54d868d554fb85506547a84754515092ccde2483">View it on GitLab</a>
<br>
You're receiving this email because of your account on <a href="https://projects.sucs.org/">projects.sucs.org</a>.
If you'd like to receive fewer emails, you can adjust your notification settings.
<script type="application/ld+json">{"@context":"http://schema.org","@type":"EmailMessage","action":{"@type":"ViewAction","name":"View Commit","url":"https://projects.sucs.org/sucssite/sucs-site/commit/54d868d554fb85506547a84754515092ccde2483"}}</script>
</p>
</div>
</body>
</html>