Просмотр исходного кода

Merge remote branch 'hidenorigoto/fix-profiler-header'

* hidenorigoto/fix-profiler-header:
  [WebProfilerBundle]link to the original url to go back to the application easily
Fabien Potencier 14 лет назад
Родитель
Сommit
67ec6e5d94

+ 4 - 0
src/Symfony/Bundle/WebProfilerBundle/Resources/public/css/profiler.css

@@ -81,6 +81,10 @@ img {
     margin-left: 45px;
 }
 
+.header a {
+    color: #fff;
+}
+
 .menu, td.menu {
     width: 240px;
 }

+ 1 - 1
src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig

@@ -7,7 +7,7 @@
             Symfony Profiler
         </h1>
         <div>
-            <em>{{ profiler.url }}</em> by <em>{{ profiler.ip }}</em> at <em>{{ profiler.time|date('r') }}</em>
+            <em><a href="{{ profiler.url }}">{{ profiler.url }}</a></em> by <em>{{ profiler.ip }}</em> at <em>{{ profiler.time|date('r') }}</em>
         </div>
     </div>