File tree Expand file tree Collapse file tree 6 files changed +21
-21
lines changed
Expand file tree Collapse file tree 6 files changed +21
-21
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ defmodule ErrorTracker.Web.CoreComponents do
2626 ] }
2727 { @ rest }
2828 >
29- <%= render_slot ( @ inner_block ) %>
29+ { render_slot ( @ inner_block ) }
3030 </ . link >
3131 """
3232 end
@@ -42,7 +42,7 @@ defmodule ErrorTracker.Web.CoreComponents do
4242 ] }
4343 { @ rest }
4444 >
45- <%= render_slot ( @ inner_block ) %>
45+ { render_slot ( @ inner_block ) }
4646 </ button >
4747 """
4848 end
@@ -80,7 +80,7 @@ defmodule ErrorTracker.Web.CoreComponents do
8080 class = { [ "text-sm font-medium me-2 py-1 px-2 rounded-lg ring-1 ring-inset" , @ color_class ] }
8181 { @ rest }
8282 >
83- <%= render_slot ( @ inner_block ) %>
83+ { render_slot ( @ inner_block ) }
8484 </ span >
8585 """
8686 end
@@ -124,9 +124,9 @@ defmodule ErrorTracker.Web.CoreComponents do
124124 :if = { assigns [ :title ] }
125125 class = { [ "text-sm font-semibold mb-2 uppercase text-gray-400" , @ title_class ] }
126126 >
127- <%= @ title %>
127+ { @ title }
128128 </ h2 >
129- <%= render_slot ( @ inner_block ) %>
129+ { render_slot ( @ inner_block ) }
130130 </ div >
131131 """
132132 end
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ defmodule ErrorTracker.Web.Layouts do
9797 class = "whitespace-nowrap flex-0 block py-2 px-3 rounded-lg text-white hover:text-white hover:bg-gray-700 md:hover:bg-transparent md:border-0 md:hover:text-sky-500 "
9898 { @ rest }
9999 >
100- <%= render_slot ( @ inner_block ) %>
100+ { render_slot ( @ inner_block ) }
101101 </ a >
102102 </ li >
103103 """
Original file line number Diff line number Diff line change 11< . navbar id = "navbar " { assigns } />
22< main class = "container px-4 mx-auto mt-4 mb-4 " >
3- <%= @ inner_content %>
3+ { @ inner_content }
44</ main >
Original file line number Diff line number Diff line change 88 < meta name = "socket-path " content = { get_socket_config ( :path ) } />
99 < meta name = "socket-transport " content = { get_socket_config ( :transport ) } />
1010
11- < title > <%= assigns [ :page_title ] || "🐛 ErrorTracker" %> </ title >
11+ < title > { assigns [ :page_title ] || "🐛 ErrorTracker" } </ title >
1212
1313 < style nonce = { @ csp_nonces [ :style ] } >
1414 <%= raw get_content ( :css ) %>
1919 </ head >
2020
2121 < body class = "bg-gray-800 text-white " >
22- <%= @ inner_content %>
22+ { @ inner_content }
2323 </ body >
2424</ html >
Original file line number Diff line number Diff line change 6464 >
6565 < td scope = "row " class = "px-4 py-4 font-medium text-white relative " >
6666 < . link navigate = { error_path ( @ socket , error , @ search ) } class = "absolute inset-1 " >
67- < span class = "sr-only " > (<%= sanitize_module ( error . kind ) %> ) <%= error . reason %> </ span >
67+ < span class = "sr-only " > ({ sanitize_module ( error . kind ) } ) { error . reason } </ span >
6868 </ . link >
6969 < p class = "whitespace-nowrap text-ellipsis overflow-hidden " >
70- (<%= sanitize_module ( error . kind ) %> ) <%= error . reason %>
70+ ({ sanitize_module ( error . kind ) } ) { error . reason }
7171 </ p >
7272 < p
7373 :if = { ErrorTracker.Error . has_source_info? ( error ) }
7474 class = "whitespace-nowrap text-ellipsis overflow-hidden font-normal text-gray-400 "
7575 >
76- <%= sanitize_module ( error . source_function ) %>
76+ { sanitize_module ( error . source_function ) }
7777 < br />
78- <%= error . source_line %>
78+ { error . source_line }
7979 </ p >
8080 </ td >
8181 < td class = "px-4 py-4 " >
82- < p > Last: <%= format_datetime ( error . last_occurrence_at ) %> </ p >
83- < p > Total: <%= @ occurrences [ error . id ] %> </ p >
82+ < p > Last: { format_datetime ( error . last_occurrence_at ) } </ p >
83+ < p > Total: { @ occurrences [ error . id ] } </ p >
8484 </ td >
8585 < td class = "px-4 py-4 " >
8686 < . badge :if = { error . status == :resolved } color = { :green } > Resolved</ . badge >
Original file line number Diff line number Diff line change 66
77< div id = "header " >
88 < p class = "text-sm uppercase font-semibold text-gray-400 " >
9- Error #<%= @ error . id %> @ <%= format_datetime ( @ occurrence . inserted_at ) %>
9+ Error #{ @ error . id } @ { format_datetime ( @ occurrence . inserted_at ) }
1010 </ p >
1111 < h1 class = "my-1 text-2xl w-full font-semibold whitespace-nowrap text-ellipsis overflow-hidden " >
12- (<%= sanitize_module ( @ error . kind ) %> ) <%= @ error . reason
12+ ({ sanitize_module ( @ error . kind ) } ) { @ error . reason
1313 |> String . replace ( "\n " , " " )
14- |> String . trim ( ) %>
14+ |> String . trim ( ) }
1515 </ h1 >
1616</ div >
1717
3838 class = "border-b bg-gray-400/10 border-gray-900 last:border-b-0 "
3939 >
4040 < td class = "w-11 pl-2 py-4 font-medium text-white relative text-right " >
41- <%= length ( @ occurrence . breadcrumbs ) - index %> .
41+ { length ( @ occurrence . breadcrumbs ) - index } .
4242 </ td >
43- < td class = "px-2 py-4 font-medium text-white relative " > <%= breadcrumb %> </ td >
43+ < td class = "px-2 py-4 font-medium text-white relative " > { breadcrumb } </ td >
4444 </ tr >
4545 </ table >
4646 </ div >
9595 value = { occurrence . id }
9696 selected = { occurrence . id == @ occurrence . id }
9797 >
98- <%= format_datetime ( occurrence . inserted_at ) %>
98+ { format_datetime ( occurrence . inserted_at ) }
9999 </ option >
100100 </ select >
101101 </ form >
You can’t perform that action at this time.
0 commit comments