From 47475a804f9d9ab064d3e0c1fa554a18377be049 Mon Sep 17 00:00:00 2001 From: David Russell Date: Tue, 16 May 2017 16:44:45 +0700 Subject: [PATCH] Updated icons for Gitea and Gogs services. --- app/com/gitpitch/views/Slideshow.scala.html | 26 +++++++++++++------ .../views/frags/LandingHeader.scala.html | 18 ++++++++----- 2 files changed, 30 insertions(+), 14 deletions(-) diff --git a/app/com/gitpitch/views/Slideshow.scala.html b/app/com/gitpitch/views/Slideshow.scala.html index a58340b..9016aeb 100755 --- a/app/com/gitpitch/views/Slideshow.scala.html +++ b/app/com/gitpitch/views/Slideshow.scala.html @@ -51,14 +51,24 @@ @if(ssm.hasFootnote()) { @ssm.fetchFootnote() } else { - @if(ssm.params().grs.equals("github")) { - - } else { - - } - @ssm.params().asLogo() + @if(ssm.params().grs.equals("github")) { + + } + @if(ssm.params().grs.equals("gitlab")) { + + } + @if(ssm.params().grs.equals("bitbucket")) { + + } + @if(ssm.params().grs.equals("gitea") || + ssm.params().grs.equals("gogs")) { + + } + @ssm.params().asLogo() } diff --git a/app/com/gitpitch/views/frags/LandingHeader.scala.html b/app/com/gitpitch/views/frags/LandingHeader.scala.html index 59397d4..f2c6472 100644 --- a/app/com/gitpitch/views/frags/LandingHeader.scala.html +++ b/app/com/gitpitch/views/frags/LandingHeader.scala.html @@ -47,11 +47,9 @@ } else {
  • @rndr.user()
  • - +
  • @rndr.repo()
  • -
  • +