Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1079668

Browse filesBrowse files
committed
feature #19815 [WebProfilerBundle] Make the IP address in the profiler header clickable (jameshalsall)
This PR was merged into the 3.3-dev branch. Discussion ---------- [WebProfilerBundle] Make the IP address in the profiler header clickable | Q | A | | --- | --- | | Branch? | master | | Bug fix? | no | | New feature? | yes | | BC breaks? | no | | Deprecations? | no | | Tests pass? | yes | | License | MIT | Commits ------- 52606a1 [WebProfilerBundle] Make the IP address in the profiler header clickable to view requests by IP
2 parents db995df + 52606a1 commit 1079668
Copy full SHA for 1079668

File tree

Expand file treeCollapse file tree

2 files changed

+5
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+5
-2
lines changed

‎src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/layout.html.twig
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@
6868
<dd>{{ status_code }}</dd>
6969

7070
<dt>IP</dt>
71-
<dd>{{ profile.ip }}</dd>
71+
<dd>
72+
<a href="{{ path('_profiler_search_results', { token: token, limit: 10, ip: profile.ip }) }}">{{ profile.ip }}</a>
73+
</dd>
7274

7375
<dt>Profiled on</dt>
7476
<dd>{{ profile.time|date('r') }}</dd>

‎src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig

Copy file name to clipboardExpand all lines: src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/profiler.css.twig
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,8 @@ tr.status-warning td {
528528
color: #FFF;
529529
}
530530

531-
#summary dl.metadata {
531+
#summary dl.metadata,
532+
#summary dl.metadata a {
532533
margin: 5px 0 0;
533534
color: rgba(255, 255, 255, 0.75);
534535
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.