From b71ab753a31ee51e26740cb2017e57599fd1158f Mon Sep 17 00:00:00 2001
From: Tim Repke <repketim@informatik.hu-berlin.de>
Date: Sat, 27 Sep 2014 17:23:14 +0100
Subject: [PATCH] fixed stylesheet, links in trip description where formatted
 as headlines

---
 registration-system/index.php      |  2 +-
 registration-system/view/style.css | 12 +++++++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/registration-system/index.php b/registration-system/index.php
index ffaed1a..fb84849 100644
--- a/registration-system/index.php
+++ b/registration-system/index.php
@@ -473,7 +473,7 @@ function index_show_fahrtHeader($fahrt){
     $cnt = $index_db->count("bachelor", ["AND"=>
                                             ["backstepped" => NULL,
                                              "fahrt_id"    => $fahrt['fahrt_id']]]);
-    echo '<div class="fahrt"><a href="index.php?fid='.$fahrt['fahrt_id'].'">'.$fahrt['titel'].'</a>';
+    echo '<div class="fahrt"><a  class="fahrthead" href="index.php?fid='.$fahrt['fahrt_id'].'">'.$fahrt['titel'].'</a>';
     echo 'Ziel: <i>'.$fahrt['ziel'].'</i><br />';
     echo 'Datum: <i>'.comm_from_mysqlDate($fahrt['von'])." - ".comm_from_mysqlDate($fahrt['bis']).'</i><br />';
     echo "Ansprechpartner: <i>".$fahrt['leiter']." (".comm_convert_mail($fahrt['kontakt']).")</i><br />";
diff --git a/registration-system/view/style.css b/registration-system/view/style.css
index 4de6a3d..cce1419 100644
--- a/registration-system/view/style.css
+++ b/registration-system/view/style.css
@@ -287,7 +287,7 @@ a.editenum { display: block; height: 20px; line-height: 20px; width: 20px; font-
     display: table-row;
 }
 
-.fahrt a, .fahrttitle {
+.fahrthead, .fahrttitle {
     margin-bottom: 15px;
     border-bottom: 1px dotted black;
     margin-left: -10px;
@@ -296,6 +296,16 @@ a.editenum { display: block; height: 20px; line-height: 20px; width: 20px; font-
     font-size: 1.5em;
 }
 
+.fahrt pre a{
+    display: inline !important;
+    border: 0 !important;
+    padding: 0 !important;
+    line-height: 1em !important;
+    color: darkorange !important;
+    float: none !important;
+    font-size: 1em !important;
+}
+
 .message{
     margin: 5px;
     padding: 5px;
-- 
GitLab