⋯ 8 hidden lines@@ -1434,147 +1447,147 @@ func commentView(c CommentView, suffix string) templ.Component { 1434 return templ_7745c5c3_Err 1447 return templ_7745c5c3_Err 1435 } 1448 } 1436 } 1449 } 1437 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 127, "</div>" ) 1450 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 129, "</div>" ) 1438 if templ_7745c5c3_Err != nil { 1451 if templ_7745c5c3_Err != nil { 1439 return templ_7745c5c3_Err 1452 return templ_7745c5c3_Err 1440 } 1453 } 1441 } 1454 } 1442 if c.Edited { 1455 if c.Edited { 1443 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 128, "<span class=\"mute\">edited</span> " ) 1456 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 130, "<span class=\"mute\">edited</span> " ) 1444 if templ_7745c5c3_Err != nil { 1457 if templ_7745c5c3_Err != nil { 1445 return templ_7745c5c3_Err 1458 return templ_7745c5c3_Err 1446 } 1459 } 1447 } 1460 } 1448 if c.Verdict != "" { 1461 if c.Verdict != "" { 1449 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 129, "<span class=\"c-state\">" ) 1462 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 131, "<span class=\"c-state\">" ) 1450 if templ_7745c5c3_Err != nil { 1463 if templ_7745c5c3_Err != nil { 1451 return templ_7745c5c3_Err 1464 return templ_7745c5c3_Err 1452 } 1465 } 1453 var templ_7745c5c3_Var70 string 1466 var templ_7745c5c3_Var70 string 1454 templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.JoinStringErrs(c.Verdict) 1467 templ_7745c5c3_Var70, templ_7745c5c3_Err = templ.JoinStringErrs(c.Verdict) 1455 if templ_7745c5c3_Err != nil { 1468 if templ_7745c5c3_Err != nil { 1456 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 269, Col: 36} 1469 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 271, Col: 36} 1457 } 1470 } 1458 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var70)) 1471 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var70)) 1459 if templ_7745c5c3_Err != nil { 1472 if templ_7745c5c3_Err != nil { 1460 return templ_7745c5c3_Err 1473 return templ_7745c5c3_Err 1461 } 1474 } 1462 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 130, "</span> " ) 1475 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 132, "</span> " ) 1463 if templ_7745c5c3_Err != nil { 1476 if templ_7745c5c3_Err != nil { 1464 return templ_7745c5c3_Err 1477 return templ_7745c5c3_Err 1465 } 1478 } 1466 } 1479 } 1467 if c.Range != "" { 1480 if c.Range != "" { 1468 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 131, "<span class=\"mute\">" ) 1481 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 133, "<span class=\"mute\">" ) 1469 if templ_7745c5c3_Err != nil { 1482 if templ_7745c5c3_Err != nil { 1470 return templ_7745c5c3_Err 1483 return templ_7745c5c3_Err 1471 } 1484 } 1472 var templ_7745c5c3_Var71 string 1485 var templ_7745c5c3_Var71 string 1473 templ_7745c5c3_Var71, templ_7745c5c3_Err = templ.JoinStringErrs(c.Range) 1486 templ_7745c5c3_Var71, templ_7745c5c3_Err = templ.JoinStringErrs(c.Range) 1474 if templ_7745c5c3_Err != nil { 1487 if templ_7745c5c3_Err != nil { 1475 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 272, Col: 31} 1488 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 274, Col: 31} 1476 } 1489 } 1477 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var71)) 1490 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var71)) 1478 if templ_7745c5c3_Err != nil { 1491 if templ_7745c5c3_Err != nil { 1479 return templ_7745c5c3_Err 1492 return templ_7745c5c3_Err 1480 } 1493 } 1481 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 132, "</span> " ) 1494 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 134, "</span> " ) 1482 if templ_7745c5c3_Err != nil { 1495 if templ_7745c5c3_Err != nil { 1483 return templ_7745c5c3_Err 1496 return templ_7745c5c3_Err 1484 } 1497 } 1485 } 1498 } 1486 if c.Quote != "" { 1499 if c.Quote != "" { 1487 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 133, "<button type=\"button\" class=\"btn\" data-js data-quote=\"" ) 1500 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 135, "<button type=\"button\" class=\"btn\" data-js data-quote=\"" ) 1488 if templ_7745c5c3_Err != nil { 1501 if templ_7745c5c3_Err != nil { 1489 return templ_7745c5c3_Err 1502 return templ_7745c5c3_Err 1490 } 1503 } 1491 var templ_7745c5c3_Var72 string 1504 var templ_7745c5c3_Var72 string 1492 templ_7745c5c3_Var72, templ_7745c5c3_Err = templ.ResolveAttributeValue(c.Quote) 1505 templ_7745c5c3_Var72, templ_7745c5c3_Err = templ.ResolveAttributeValue(c.Quote) 1493 if templ_7745c5c3_Err != nil { 1506 if templ_7745c5c3_Err != nil { 1494 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 275, Col: 65} 1507 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 277, Col: 65} 1495 } 1508 } 1496 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var72) 1509 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var72) 1497 if templ_7745c5c3_Err != nil { 1510 if templ_7745c5c3_Err != nil { 1498 return templ_7745c5c3_Err 1511 return templ_7745c5c3_Err 1499 } 1512 } 1500 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 134, "\">Quote</button> " ) 1513 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 136, "\">Quote</button> " ) 1501 if templ_7745c5c3_Err != nil { 1514 if templ_7745c5c3_Err != nil { 1502 return templ_7745c5c3_Err 1515 return templ_7745c5c3_Err 1503 } 1516 } 1504 } 1517 } 1505 if c.Edit != nil { 1518 if c.Edit != nil { 1506 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 135, "<details><summary>Edit</summary><form method=\"post\" action=\"" ) 1519 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 137, "<details><summary>Edit</summary><form method=\"post\" action=\"" ) 1507 if templ_7745c5c3_Err != nil { 1520 if templ_7745c5c3_Err != nil { 1508 return templ_7745c5c3_Err 1521 return templ_7745c5c3_Err 1509 } 1522 } 1510 var templ_7745c5c3_Var73 templ.SafeURL 1523 var templ_7745c5c3_Var73 templ.SafeURL 1511 templ_7745c5c3_Var73, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Edit.Action)) 1524 templ_7745c5c3_Var73, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Edit.Action)) 1512 if templ_7745c5c3_Err != nil { 1525 if templ_7745c5c3_Err != nil { 1513 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 278, Col: 92} 1526 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 280, Col: 92} 1514 } 1527 } 1515 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var73)) 1528 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var73)) 1516 if templ_7745c5c3_Err != nil { 1529 if templ_7745c5c3_Err != nil { 1517 return templ_7745c5c3_Err 1530 return templ_7745c5c3_Err 1518 } 1531 } 1519 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 136, "\"><input type=\"hidden\" name=\"from\" value=\"" ) 1532 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 138, "\"><input type=\"hidden\" name=\"from\" value=\"" ) 1520 if templ_7745c5c3_Err != nil { 1533 if templ_7745c5c3_Err != nil { 1521 return templ_7745c5c3_Err 1534 return templ_7745c5c3_Err 1522 } 1535 } 1523 var templ_7745c5c3_Var74 string 1536 var templ_7745c5c3_Var74 string 1524 templ_7745c5c3_Var74, templ_7745c5c3_Err = templ.ResolveAttributeValue(itoa(c.Edit.From)) 1537 templ_7745c5c3_Var74, templ_7745c5c3_Err = templ.ResolveAttributeValue(itoa(c.Edit.From)) 1525 if templ_7745c5c3_Err != nil { 1538 if templ_7745c5c3_Err != nil { 1526 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 278, Col: 153} 1539 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 280, Col: 153} 1527 } 1540 } 1528 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var74) 1541 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var74) 1529 if templ_7745c5c3_Err != nil { 1542 if templ_7745c5c3_Err != nil { 1530 return templ_7745c5c3_Err 1543 return templ_7745c5c3_Err 1531 } 1544 } 1532 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 137, "\"><textarea name=\"text\" maxlength=\"8000\">" ) 1545 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 139, "\"><textarea name=\"text\" maxlength=\"8000\">" ) 1533 if templ_7745c5c3_Err != nil { 1546 if templ_7745c5c3_Err != nil { 1534 return templ_7745c5c3_Err 1547 return templ_7745c5c3_Err 1535 } 1548 } 1536 var templ_7745c5c3_Var75 string 1549 var templ_7745c5c3_Var75 string 1537 templ_7745c5c3_Var75, templ_7745c5c3_Err = templ.JoinStringErrs(c.Edit.Text) 1550 templ_7745c5c3_Var75, templ_7745c5c3_Err = templ.JoinStringErrs(c.Edit.Text) 1538 if templ_7745c5c3_Err != nil { 1551 if templ_7745c5c3_Err != nil { 1539 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 278, Col: 209} 1552 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 280, Col: 209} 1540 } 1553 } 1541 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var75)) 1554 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var75)) 1542 if templ_7745c5c3_Err != nil { 1555 if templ_7745c5c3_Err != nil { 1543 return templ_7745c5c3_Err 1556 return templ_7745c5c3_Err 1544 } 1557 } 1545 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 138, "</textarea><button class=\"btn\" type=\"submit\">Save</button></form></details> " ) 1558 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 140, "</textarea><button class=\"btn\" type=\"submit\">Save</button></form></details> " ) 1546 if templ_7745c5c3_Err != nil { 1559 if templ_7745c5c3_Err != nil { 1547 return templ_7745c5c3_Err 1560 return templ_7745c5c3_Err 1548 } 1561 } 1549 } 1562 } 1550 if c.Delete != nil { 1563 if c.Delete != nil { 1551 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 139, "<details><summary>Delete</summary><form method=\"post\" action=\"" ) 1564 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 141, "<details><summary>Delete</summary><form method=\"post\" action=\"" ) 1552 if templ_7745c5c3_Err != nil { 1565 if templ_7745c5c3_Err != nil { 1553 return templ_7745c5c3_Err 1566 return templ_7745c5c3_Err 1554 } 1567 } 1555 var templ_7745c5c3_Var76 templ.SafeURL 1568 var templ_7745c5c3_Var76 templ.SafeURL 1556 templ_7745c5c3_Var76, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Delete.Action)) 1569 templ_7745c5c3_Var76, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Delete.Action)) 1557 if templ_7745c5c3_Err != nil { 1570 if templ_7745c5c3_Err != nil { 1558 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 281, Col: 96} 1571 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 283, Col: 96} 1559 } 1572 } 1560 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var76)) 1573 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var76)) 1561 if templ_7745c5c3_Err != nil { 1574 if templ_7745c5c3_Err != nil { 1562 return templ_7745c5c3_Err 1575 return templ_7745c5c3_Err 1563 } 1576 } 1564 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 140, "\"><input type=\"hidden\" name=\"from\" value=\"" ) 1577 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 142, "\"><input type=\"hidden\" name=\"from\" value=\"" ) 1565 if templ_7745c5c3_Err != nil { 1578 if templ_7745c5c3_Err != nil { 1566 return templ_7745c5c3_Err 1579 return templ_7745c5c3_Err 1567 } 1580 } 1568 var templ_7745c5c3_Var77 string 1581 var templ_7745c5c3_Var77 string 1569 templ_7745c5c3_Var77, templ_7745c5c3_Err = templ.ResolveAttributeValue(itoa(c.Delete.From)) 1582 templ_7745c5c3_Var77, templ_7745c5c3_Err = templ.ResolveAttributeValue(itoa(c.Delete.From)) 1570 if templ_7745c5c3_Err != nil { 1583 if templ_7745c5c3_Err != nil { 1571 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 281, Col: 159} 1584 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 283, Col: 159} 1572 } 1585 } 1573 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var77) 1586 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var77) 1574 if templ_7745c5c3_Err != nil { 1587 if templ_7745c5c3_Err != nil { 1575 return templ_7745c5c3_Err 1588 return templ_7745c5c3_Err 1576 } 1589 } 1577 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 141, "\"><p>Delete this note?</p><button class=\"btn\" type=\"submit\">Confirm delete</button></form></details> " ) 1590 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 143, "\"><p>Delete this note?</p><button class=\"btn\" type=\"submit\">Confirm delete</button></form></details> " ) 1578 if templ_7745c5c3_Err != nil { 1591 if templ_7745c5c3_Err != nil { 1579 return templ_7745c5c3_Err 1592 return templ_7745c5c3_Err 1580 } 1593 } ⋯ 1 hidden line@@ -1594,80 +1607,80 @@ func commentView(c CommentView, suffix string) templ.Component { 1594 if templ_7745c5c3_Err != nil { 1607 if templ_7745c5c3_Err != nil { 1595 return templ_7745c5c3_Err 1608 return templ_7745c5c3_Err 1596 } 1609 } 1597 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 143, "</details> " ) 1610 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 145, "</details> " ) 1598 if templ_7745c5c3_Err != nil { 1611 if templ_7745c5c3_Err != nil { 1599 return templ_7745c5c3_Err 1612 return templ_7745c5c3_Err 1600 } 1613 } 1601 } 1614 } 1602 if c.Resolve != nil { 1615 if c.Resolve != nil { 1603 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 144, "<form class=\"c-act\" method=\"post\" action=\"" ) 1616 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 146, "<form class=\"c-act\" method=\"post\" action=\"" ) 1604 if templ_7745c5c3_Err != nil { 1617 if templ_7745c5c3_Err != nil { 1605 return templ_7745c5c3_Err 1618 return templ_7745c5c3_Err 1606 } 1619 } 1607 var templ_7745c5c3_Var78 templ.SafeURL 1620 var templ_7745c5c3_Var78 templ.SafeURL 1608 templ_7745c5c3_Var78, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Resolve.Action)) 1621 templ_7745c5c3_Var78, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Resolve.Action)) 1609 if templ_7745c5c3_Err != nil { 1622 if templ_7745c5c3_Err != nil { 1610 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 292, Col: 77} 1623 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 294, Col: 77} 1611 } 1624 } 1612 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var78)) 1625 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var78)) 1613 if templ_7745c5c3_Err != nil { 1626 if templ_7745c5c3_Err != nil { 1614 return templ_7745c5c3_Err 1627 return templ_7745c5c3_Err 1615 } 1628 } 1616 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 145, "\"><input type=\"hidden\" name=\"resolved\" value=\"" ) 1629 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 147, "\"><input type=\"hidden\" name=\"resolved\" value=\"" ) 1617 if templ_7745c5c3_Err != nil { 1630 if templ_7745c5c3_Err != nil { 1618 return templ_7745c5c3_Err 1631 return templ_7745c5c3_Err 1619 } 1632 } 1620 var templ_7745c5c3_Var79 string 1633 var templ_7745c5c3_Var79 string 1621 templ_7745c5c3_Var79, templ_7745c5c3_Err = templ.ResolveAttributeValue(boolText(c.Resolve.Value)) 1634 templ_7745c5c3_Var79, templ_7745c5c3_Err = templ.ResolveAttributeValue(boolText(c.Resolve.Value)) 1622 if templ_7745c5c3_Err != nil { 1635 if templ_7745c5c3_Err != nil { 1623 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 293, Col: 74} 1636 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 295, Col: 74} 1624 } 1637 } 1625 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var79) 1638 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var79) 1626 if templ_7745c5c3_Err != nil { 1639 if templ_7745c5c3_Err != nil { 1627 return templ_7745c5c3_Err 1640 return templ_7745c5c3_Err 1628 } 1641 } 1629 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 146, "\"> " ) 1642 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 148, "\"> " ) 1630 if templ_7745c5c3_Err != nil { 1643 if templ_7745c5c3_Err != nil { 1631 return templ_7745c5c3_Err 1644 return templ_7745c5c3_Err 1632 } 1645 } 1633 if c.Resolve.From > 0 { 1646 if c.Resolve.From > 0 { 1634 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 147, "<input type=\"hidden\" name=\"from\" value=\"" ) 1647 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 149, "<input type=\"hidden\" name=\"from\" value=\"" ) 1635 if templ_7745c5c3_Err != nil { 1648 if templ_7745c5c3_Err != nil { 1636 return templ_7745c5c3_Err 1649 return templ_7745c5c3_Err 1637 } 1650 } 1638 var templ_7745c5c3_Var80 string 1651 var templ_7745c5c3_Var80 string 1639 templ_7745c5c3_Var80, templ_7745c5c3_Err = templ.ResolveAttributeValue(itoa(c.Resolve.From)) 1652 templ_7745c5c3_Var80, templ_7745c5c3_Err = templ.ResolveAttributeValue(itoa(c.Resolve.From)) 1640 if templ_7745c5c3_Err != nil { 1653 if templ_7745c5c3_Err != nil { 1641 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 295, Col: 66} 1654 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 297, Col: 66} 1642 } 1655 } 1643 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var80) 1656 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var80) 1644 if templ_7745c5c3_Err != nil { 1657 if templ_7745c5c3_Err != nil { 1645 return templ_7745c5c3_Err 1658 return templ_7745c5c3_Err 1646 } 1659 } 1647 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 148, "\"> " ) 1660 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 150, "\"> " ) 1648 if templ_7745c5c3_Err != nil { 1661 if templ_7745c5c3_Err != nil { 1649 return templ_7745c5c3_Err 1662 return templ_7745c5c3_Err 1650 } 1663 } 1651 } 1664 } 1652 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 149, "<button type=\"submit\" class=\"btn\">" ) 1665 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 151, "<button type=\"submit\" class=\"btn\">" ) 1653 if templ_7745c5c3_Err != nil { 1666 if templ_7745c5c3_Err != nil { 1654 return templ_7745c5c3_Err 1667 return templ_7745c5c3_Err 1655 } 1668 } 1656 var templ_7745c5c3_Var81 string 1669 var templ_7745c5c3_Var81 string 1657 templ_7745c5c3_Var81, templ_7745c5c3_Err = templ.JoinStringErrs(c.Resolve.Label) 1670 templ_7745c5c3_Var81, templ_7745c5c3_Err = templ.JoinStringErrs(c.Resolve.Label) 1658 if templ_7745c5c3_Err != nil { 1671 if templ_7745c5c3_Err != nil { 1659 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 297, Col: 55} 1672 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 299, Col: 55} 1660 } 1673 } 1661 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var81)) 1674 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var81)) 1662 if templ_7745c5c3_Err != nil { 1675 if templ_7745c5c3_Err != nil { 1663 return templ_7745c5c3_Err 1676 return templ_7745c5c3_Err 1664 } 1677 } 1665 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 150, "</button></form>" ) 1678 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 152, "</button></form>" ) 1666 if templ_7745c5c3_Err != nil { 1679 if templ_7745c5c3_Err != nil { 1667 return templ_7745c5c3_Err 1680 return templ_7745c5c3_Err 1668 } 1681 } 1669 } 1682 } 1670 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 151, "</div>" ) 1683 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 153, "</div>" ) 1671 if templ_7745c5c3_Err != nil { 1684 if templ_7745c5c3_Err != nil { 1672 return templ_7745c5c3_Err 1685 return templ_7745c5c3_Err 1673 } 1686 } ⋯ 30 hidden lines@@ -1704,198 +1717,209 @@ func commentForm(f CommentForm, suffix string) templ.Component { 1704 templ_7745c5c3_Var82 = templ.NopComponent 1717 templ_7745c5c3_Var82 = templ.NopComponent 1705 } 1718 } 1706 ctx = templ.ClearChildren(ctx) 1719 ctx = templ.ClearChildren(ctx) 1707 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 152, "<form class=\"cform\" method=\"post\" action=\"" ) 1720 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 154, "<form class=\"cform\" method=\"post\" action=\"" ) 1708 if templ_7745c5c3_Err != nil { 1721 if templ_7745c5c3_Err != nil { 1709 return templ_7745c5c3_Err 1722 return templ_7745c5c3_Err 1710 } 1723 } 1711 var templ_7745c5c3_Var83 templ.SafeURL 1724 var templ_7745c5c3_Var83 templ.SafeURL 1712 templ_7745c5c3_Var83, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(f.Action)) 1725 templ_7745c5c3_Var83, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(f.Action)) 1713 if templ_7745c5c3_Err != nil { 1726 if templ_7745c5c3_Err != nil { 1714 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 312, Col: 67} 1727 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 314, Col: 67} 1715 } 1728 } 1716 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var83)) 1729 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var83)) 1717 if templ_7745c5c3_Err != nil { 1730 if templ_7745c5c3_Err != nil { 1718 return templ_7745c5c3_Err 1731 return templ_7745c5c3_Err 1719 } 1732 } 1720 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 153, "\"><label for=\"" ) 1733 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 155, "\"><label for=\"" ) 1721 if templ_7745c5c3_Err != nil { 1734 if templ_7745c5c3_Err != nil { 1722 return templ_7745c5c3_Err 1735 return templ_7745c5c3_Err 1723 } 1736 } 1724 var templ_7745c5c3_Var84 string 1737 var templ_7745c5c3_Var84 string 1725 templ_7745c5c3_Var84, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.ID + suffix) 1738 templ_7745c5c3_Var84, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.ID + suffix) 1726 if templ_7745c5c3_Err != nil { 1739 if templ_7745c5c3_Err != nil { 1727 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 313, Col: 28} 1740 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 315, Col: 28} 1728 } 1741 } 1729 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var84) 1742 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var84) 1730 if templ_7745c5c3_Err != nil { 1743 if templ_7745c5c3_Err != nil { 1731 return templ_7745c5c3_Err 1744 return templ_7745c5c3_Err 1732 } 1745 } 1733 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 154, "\">" ) 1746 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 156, "\">" ) 1734 if templ_7745c5c3_Err != nil { 1747 if templ_7745c5c3_Err != nil { 1735 return templ_7745c5c3_Err 1748 return templ_7745c5c3_Err 1736 } 1749 } 1737 var templ_7745c5c3_Var85 string 1750 var templ_7745c5c3_Var85 string 1738 templ_7745c5c3_Var85, templ_7745c5c3_Err = templ.JoinStringErrs(f.Title) 1751 templ_7745c5c3_Var85, templ_7745c5c3_Err = templ.JoinStringErrs(f.Title) 1739 if templ_7745c5c3_Err != nil { 1752 if templ_7745c5c3_Err != nil { 1740 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 313, Col: 40} 1753 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 315, Col: 40} 1741 } 1754 } 1742 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var85)) 1755 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var85)) 1743 if templ_7745c5c3_Err != nil { 1756 if templ_7745c5c3_Err != nil { 1744 return templ_7745c5c3_Err 1757 return templ_7745c5c3_Err 1745 } 1758 } 1746 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 155, "</label> <textarea id=\"" ) 1759 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 157, "</label> <textarea id=\"" ) 1747 if templ_7745c5c3_Err != nil { 1760 if templ_7745c5c3_Err != nil { 1748 return templ_7745c5c3_Err 1761 return templ_7745c5c3_Err 1749 } 1762 } 1750 var templ_7745c5c3_Var86 string 1763 var templ_7745c5c3_Var86 string 1751 templ_7745c5c3_Var86, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.ID + suffix) 1764 templ_7745c5c3_Var86, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.ID + suffix) 1752 if templ_7745c5c3_Err != nil { 1765 if templ_7745c5c3_Err != nil { 1753 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 315, Col: 21} 1766 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 317, Col: 21} 1754 } 1767 } 1755 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var86) 1768 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var86) 1756 if templ_7745c5c3_Err != nil { 1769 if templ_7745c5c3_Err != nil { 1757 return templ_7745c5c3_Err 1770 return templ_7745c5c3_Err 1758 } 1771 } 1759 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 156, "\" name=\"text\" rows=\"3\" maxlength=\"8000\" placeholder=\"Markdown, 8000 characters at most\"" ) 1772 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 158, "\" name=\"text\" rows=\"3\" maxlength=\"8000\"" ) 1760 if templ_7745c5c3_Err != nil { 1773 if templ_7745c5c3_Err != nil { 1761 return templ_7745c5c3_Err 1774 return templ_7745c5c3_Err 1762 } 1775 } 1776 + if f.Plain { 1777 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 159, " required placeholder=\"plain text, 8000 characters at most\"" ) 1778 + if templ_7745c5c3_Err != nil { 1779 + return templ_7745c5c3_Err 1780 + } 1781 + } else { 1782 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 160, " placeholder=\"Markdown, 8000 characters at most\"" ) 1783 + if templ_7745c5c3_Err != nil { 1784 + return templ_7745c5c3_Err 1785 + } 1786 + } 1763 if f.Focus { 1787 if f.Focus { 1764 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 157, " autofocus" ) 1788 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 161, " autofocus" ) 1765 if templ_7745c5c3_Err != nil { 1789 if templ_7745c5c3_Err != nil { 1766 return templ_7745c5c3_Err 1790 return templ_7745c5c3_Err 1767 } 1791 } 1768 } 1792 } 1769 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 158, "></textarea> " ) 1793 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 162, "></textarea> " ) 1770 if templ_7745c5c3_Err != nil { 1794 if templ_7745c5c3_Err != nil { 1771 return templ_7745c5c3_Err 1795 return templ_7745c5c3_Err 1772 } 1796 } 1773 if f.Path != "" { 1797 if f.Path != "" { 1774 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 159, "<input type=\"hidden\" name=\"path\" value=\"" ) 1798 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 163, "<input type=\"hidden\" name=\"path\" value=\"" ) 1775 if templ_7745c5c3_Err != nil { 1799 if templ_7745c5c3_Err != nil { 1776 return templ_7745c5c3_Err 1800 return templ_7745c5c3_Err 1777 } 1801 } 1778 var templ_7745c5c3_Var87 string 1802 var templ_7745c5c3_Var87 string 1779 templ_7745c5c3_Var87, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Path) 1803 templ_7745c5c3_Var87, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Path) 1780 if templ_7745c5c3_Err != nil { 1804 if templ_7745c5c3_Err != nil { 1781 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 325, Col: 50} 1805 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 332, Col: 50} 1782 } 1806 } 1783 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var87) 1807 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var87) 1784 if templ_7745c5c3_Err != nil { 1808 if templ_7745c5c3_Err != nil { 1785 return templ_7745c5c3_Err 1809 return templ_7745c5c3_Err 1786 } 1810 } 1787 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 160, "\"> <input type=\"hidden\" name=\"line\" value=\"" ) 1811 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 164, "\"> <input type=\"hidden\" name=\"line\" value=\"" ) 1788 if templ_7745c5c3_Err != nil { 1812 if templ_7745c5c3_Err != nil { 1789 return templ_7745c5c3_Err 1813 return templ_7745c5c3_Err 1790 } 1814 } 1791 var templ_7745c5c3_Var88 string 1815 var templ_7745c5c3_Var88 string 1792 templ_7745c5c3_Var88, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Line) 1816 templ_7745c5c3_Var88, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Line) 1793 if templ_7745c5c3_Err != nil { 1817 if templ_7745c5c3_Err != nil { 1794 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 326, Col: 50} 1818 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 333, Col: 50} 1795 } 1819 } 1796 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var88) 1820 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var88) 1797 if templ_7745c5c3_Err != nil { 1821 if templ_7745c5c3_Err != nil { 1798 return templ_7745c5c3_Err 1822 return templ_7745c5c3_Err 1799 } 1823 } 1800 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 161, "\"> <input type=\"hidden\" name=\"side\" value=\"" ) 1824 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 165, "\"> <input type=\"hidden\" name=\"side\" value=\"" ) 1801 if templ_7745c5c3_Err != nil { 1825 if templ_7745c5c3_Err != nil { 1802 return templ_7745c5c3_Err 1826 return templ_7745c5c3_Err 1803 } 1827 } 1804 var templ_7745c5c3_Var89 string 1828 var templ_7745c5c3_Var89 string 1805 templ_7745c5c3_Var89, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Side) 1829 templ_7745c5c3_Var89, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.Side) 1806 if templ_7745c5c3_Err != nil { 1830 if templ_7745c5c3_Err != nil { 1807 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 327, Col: 50} 1831 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 334, Col: 50} 1808 } 1832 } 1809 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var89) 1833 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var89) 1810 if templ_7745c5c3_Err != nil { 1834 if templ_7745c5c3_Err != nil { 1811 return templ_7745c5c3_Err 1835 return templ_7745c5c3_Err 1812 } 1836 } 1813 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 162, "\"> <label>from line <input type=\"number\" name=\"start_line\" min=\"1\" value=\"" ) 1837 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 166, "\"> <label>from line <input type=\"number\" name=\"start_line\" min=\"1\" value=\"" ) 1814 if templ_7745c5c3_Err != nil { 1838 if templ_7745c5c3_Err != nil { 1815 return templ_7745c5c3_Err 1839 return templ_7745c5c3_Err 1816 } 1840 } 1817 var templ_7745c5c3_Var90 string 1841 var templ_7745c5c3_Var90 string 1818 templ_7745c5c3_Var90, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.StartLine) 1842 templ_7745c5c3_Var90, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.StartLine) 1819 if templ_7745c5c3_Err != nil { 1843 if templ_7745c5c3_Err != nil { 1820 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 328, Col: 86} 1844 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 335, Col: 86} 1821 } 1845 } 1822 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var90) 1846 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var90) 1823 if templ_7745c5c3_Err != nil { 1847 if templ_7745c5c3_Err != nil { 1824 return templ_7745c5c3_Err 1848 return templ_7745c5c3_Err 1825 } 1849 } 1826 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 163, "\"></label> " ) 1850 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 167, "\"></label> " ) 1827 if templ_7745c5c3_Err != nil { 1851 if templ_7745c5c3_Err != nil { 1828 return templ_7745c5c3_Err 1852 return templ_7745c5c3_Err 1829 } 1853 } 1830 } 1854 } 1831 if f.ReplyTo != "" { 1855 if f.ReplyTo != "" { 1832 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 164, "<input type=\"hidden\" name=\"reply_to\" value=\"" ) 1856 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 168, "<input type=\"hidden\" name=\"reply_to\" value=\"" ) 1833 if templ_7745c5c3_Err != nil { 1857 if templ_7745c5c3_Err != nil { 1834 return templ_7745c5c3_Err 1858 return templ_7745c5c3_Err 1835 } 1859 } 1836 var templ_7745c5c3_Var91 string 1860 var templ_7745c5c3_Var91 string 1837 templ_7745c5c3_Var91, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.ReplyTo) 1861 templ_7745c5c3_Var91, templ_7745c5c3_Err = templ.ResolveAttributeValue(f.ReplyTo) 1838 if templ_7745c5c3_Err != nil { 1862 if templ_7745c5c3_Err != nil { 1839 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 331, Col: 57} 1863 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 338, Col: 57} 1840 } 1864 } 1841 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var91) 1865 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var91) 1842 if templ_7745c5c3_Err != nil { 1866 if templ_7745c5c3_Err != nil { 1843 return templ_7745c5c3_Err 1867 return templ_7745c5c3_Err 1844 } 1868 } 1845 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 165, "\"> " ) 1869 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 169, "\"> " ) 1846 if templ_7745c5c3_Err != nil { 1870 if templ_7745c5c3_Err != nil { 1847 return templ_7745c5c3_Err 1871 return templ_7745c5c3_Err 1848 } 1872 } 1849 } 1873 } 1850 - if f.Path == "" && f.ReplyTo == "" { 1874 + if f.Path == "" && f.ReplyTo == "" && !f.Plain { 1851 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 166, "<fieldset><legend>Verdict</legend><label><input type=\"radio\" name=\"verdict\" value=\"\" checked>Note</label><label><input type=\"radio\" name=\"verdict\" value=\"approve\">Approve</label><label><input type=\"radio\" name=\"verdict\" value=\"changes_requested\">Request changes</label></fieldset>" ) 1875 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 170, "<fieldset><legend>Verdict</legend><label><input type=\"radio\" name=\"verdict\" value=\"\" checked>Note</label><label><input type=\"radio\" name=\"verdict\" value=\"approve\">Approve</label><label><input type=\"radio\" name=\"verdict\" value=\"changes_requested\">Request changes</label></fieldset>" ) 1852 if templ_7745c5c3_Err != nil { 1876 if templ_7745c5c3_Err != nil { 1853 return templ_7745c5c3_Err 1877 return templ_7745c5c3_Err 1854 } 1878 } 1855 } 1879 } 1856 if f.From > 0 { 1880 if f.From > 0 { 1857 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 167, "<input type=\"hidden\" name=\"from\" value=\"" ) 1881 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 171, "<input type=\"hidden\" name=\"from\" value=\"" ) 1858 if templ_7745c5c3_Err != nil { 1882 if templ_7745c5c3_Err != nil { 1859 return templ_7745c5c3_Err 1883 return templ_7745c5c3_Err 1860 } 1884 } 1861 var templ_7745c5c3_Var92 string 1885 var templ_7745c5c3_Var92 string 1862 templ_7745c5c3_Var92, templ_7745c5c3_Err = templ.ResolveAttributeValue(itoa(f.From)) 1886 templ_7745c5c3_Var92, templ_7745c5c3_Err = templ.ResolveAttributeValue(itoa(f.From)) 1863 if templ_7745c5c3_Err != nil { 1887 if templ_7745c5c3_Err != nil { 1864 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 337, Col: 56} 1888 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 344, Col: 56} 1865 } 1889 } 1866 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var92) 1890 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var92) 1867 if templ_7745c5c3_Err != nil { 1891 if templ_7745c5c3_Err != nil { 1868 return templ_7745c5c3_Err 1892 return templ_7745c5c3_Err 1869 } 1893 } 1870 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 168, "\">" ) 1894 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 172, "\">" ) 1871 if templ_7745c5c3_Err != nil { 1895 if templ_7745c5c3_Err != nil { 1872 return templ_7745c5c3_Err 1896 return templ_7745c5c3_Err 1873 } 1897 } 1874 } 1898 } 1875 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 169, "<div class=\"f-btns\"><button type=\"submit\" class=\"btn primary\">Comment</button> " ) 1899 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 173, "<div class=\"f-btns\"><button type=\"submit\" class=\"btn primary\">Comment</button> " ) 1876 if templ_7745c5c3_Err != nil { 1900 if templ_7745c5c3_Err != nil { 1877 return templ_7745c5c3_Err 1901 return templ_7745c5c3_Err 1878 } 1902 } 1879 if f.Cancel != "" { 1903 if f.Cancel != "" { 1880 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 170, "<a class=\"btn\" href=\"" ) 1904 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 174, "<a class=\"btn\" href=\"" ) 1881 if templ_7745c5c3_Err != nil { 1905 if templ_7745c5c3_Err != nil { 1882 return templ_7745c5c3_Err 1906 return templ_7745c5c3_Err 1883 } 1907 } 1884 var templ_7745c5c3_Var93 templ.SafeURL 1908 var templ_7745c5c3_Var93 templ.SafeURL 1885 templ_7745c5c3_Var93, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(f.Cancel)) 1909 templ_7745c5c3_Var93, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(f.Cancel)) 1886 if templ_7745c5c3_Err != nil { 1910 if templ_7745c5c3_Err != nil { 1887 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 342, Col: 49} 1911 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 349, Col: 49} 1888 } 1912 } 1889 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var93)) 1913 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var93)) 1890 if templ_7745c5c3_Err != nil { 1914 if templ_7745c5c3_Err != nil { 1891 return templ_7745c5c3_Err 1915 return templ_7745c5c3_Err 1892 } 1916 } 1893 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 171, "\">Cancel</a>" ) 1917 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 175, "\">Cancel</a>" ) 1894 if templ_7745c5c3_Err != nil { 1918 if templ_7745c5c3_Err != nil { 1895 return templ_7745c5c3_Err 1919 return templ_7745c5c3_Err 1896 } 1920 } 1897 } 1921 } 1898 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 172, "</div></form>" ) 1922 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 176, "</div></form>" ) 1899 if templ_7745c5c3_Err != nil { 1923 if templ_7745c5c3_Err != nil { 1900 return templ_7745c5c3_Err 1924 return templ_7745c5c3_Err 1901 } 1925 } ⋯ 1 hidden line@@ -1945,71 +1969,71 @@ func mrRail(p MRPage) templ.Component { 1945 if templ_7745c5c3_Err != nil { 1969 if templ_7745c5c3_Err != nil { 1946 return templ_7745c5c3_Err 1970 return templ_7745c5c3_Err 1947 } 1971 } 1948 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 175, "</section>" ) 1972 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 179, "</section>" ) 1949 if templ_7745c5c3_Err != nil { 1973 if templ_7745c5c3_Err != nil { 1950 return templ_7745c5c3_Err 1974 return templ_7745c5c3_Err 1951 } 1975 } 1952 if len(p.Verdicts) > 0 { 1976 if len(p.Verdicts) > 0 { 1953 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 176, "<section><h2>Verdicts</h2><ul>" ) 1977 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 180, "<section><h2>Verdicts</h2><ul>" ) 1954 if templ_7745c5c3_Err != nil { 1978 if templ_7745c5c3_Err != nil { 1955 return templ_7745c5c3_Err 1979 return templ_7745c5c3_Err 1956 } 1980 } 1957 for _, v := range p.Verdicts { 1981 for _, v := range p.Verdicts { 1958 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 177, "<li><a href=\"" ) 1982 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 181, "<li><a href=\"" ) 1959 if templ_7745c5c3_Err != nil { 1983 if templ_7745c5c3_Err != nil { 1960 return templ_7745c5c3_Err 1984 return templ_7745c5c3_Err 1961 } 1985 } 1962 var templ_7745c5c3_Var96 templ.SafeURL 1986 var templ_7745c5c3_Var96 templ.SafeURL 1963 templ_7745c5c3_Var96, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(v.Href)) 1987 templ_7745c5c3_Var96, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(v.Href)) 1964 if templ_7745c5c3_Err != nil { 1988 if templ_7745c5c3_Err != nil { 1965 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 364, Col: 37} 1989 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 371, Col: 37} 1966 } 1990 } 1967 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var96)) 1991 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var96)) 1968 if templ_7745c5c3_Err != nil { 1992 if templ_7745c5c3_Err != nil { 1969 return templ_7745c5c3_Err 1993 return templ_7745c5c3_Err 1970 } 1994 } 1971 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 178, "\">" ) 1995 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 182, "\">" ) 1972 if templ_7745c5c3_Err != nil { 1996 if templ_7745c5c3_Err != nil { 1973 return templ_7745c5c3_Err 1997 return templ_7745c5c3_Err 1974 } 1998 } 1975 var templ_7745c5c3_Var97 string 1999 var templ_7745c5c3_Var97 string 1976 templ_7745c5c3_Var97, templ_7745c5c3_Err = templ.JoinStringErrs(v.Author) 2000 templ_7745c5c3_Var97, templ_7745c5c3_Err = templ.JoinStringErrs(v.Author) 1977 if templ_7745c5c3_Err != nil { 2001 if templ_7745c5c3_Err != nil { 1978 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 364, Col: 50} 2002 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 371, Col: 50} 1979 } 2003 } 1980 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var97)) 2004 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var97)) 1981 if templ_7745c5c3_Err != nil { 2005 if templ_7745c5c3_Err != nil { 1982 return templ_7745c5c3_Err 2006 return templ_7745c5c3_Err 1983 } 2007 } 1984 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 179, ": " ) 2008 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 183, ": " ) 1985 if templ_7745c5c3_Err != nil { 2009 if templ_7745c5c3_Err != nil { 1986 return templ_7745c5c3_Err 2010 return templ_7745c5c3_Err 1987 } 2011 } 1988 var templ_7745c5c3_Var98 string 2012 var templ_7745c5c3_Var98 string 1989 templ_7745c5c3_Var98, templ_7745c5c3_Err = templ.JoinStringErrs(v.Label) 2013 templ_7745c5c3_Var98, templ_7745c5c3_Err = templ.JoinStringErrs(v.Label) 1990 if templ_7745c5c3_Err != nil { 2014 if templ_7745c5c3_Err != nil { 1991 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 364, Col: 63} 2015 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 371, Col: 63} 1992 } 2016 } 1993 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var98)) 2017 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var98)) 1994 if templ_7745c5c3_Err != nil { 2018 if templ_7745c5c3_Err != nil { 1995 return templ_7745c5c3_Err 2019 return templ_7745c5c3_Err 1996 } 2020 } 1997 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 180, "</a> " ) 2021 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 184, "</a> " ) 1998 if templ_7745c5c3_Err != nil { 2022 if templ_7745c5c3_Err != nil { 1999 return templ_7745c5c3_Err 2023 return templ_7745c5c3_Err 2000 } 2024 } 2001 if v.Stale { 2025 if v.Stale { 2002 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 181, "<span class=\"mute\">(stale)</span>" ) 2026 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 185, "<span class=\"mute\">(stale)</span>" ) 2003 if templ_7745c5c3_Err != nil { 2027 if templ_7745c5c3_Err != nil { 2004 return templ_7745c5c3_Err 2028 return templ_7745c5c3_Err 2005 } 2029 } 2006 } 2030 } 2007 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 182, "</li>" ) 2031 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 186, "</li>" ) 2008 if templ_7745c5c3_Err != nil { 2032 if templ_7745c5c3_Err != nil { 2009 return templ_7745c5c3_Err 2033 return templ_7745c5c3_Err 2010 } 2034 } 2011 } 2035 } 2012 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 183, "</ul></section>" ) 2036 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 187, "</ul></section>" ) 2013 if templ_7745c5c3_Err != nil { 2037 if templ_7745c5c3_Err != nil { 2014 return templ_7745c5c3_Err 2038 return templ_7745c5c3_Err 2015 } 2039 } ⋯ 2 hidden lines@@ -2018,74 +2042,74 @@ func mrRail(p MRPage) templ.Component { 2018 if templ_7745c5c3_Err != nil { 2042 if templ_7745c5c3_Err != nil { 2019 return templ_7745c5c3_Err 2043 return templ_7745c5c3_Err 2020 } 2044 } 2021 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 184, "<section aria-labelledby=\"r-commits\"><h2 id=\"r-commits\">Commits <span class=\"count\">" ) 2045 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 188, "<section aria-labelledby=\"r-commits\"><h2 id=\"r-commits\">Commits <span class=\"count\">" ) 2022 if templ_7745c5c3_Err != nil { 2046 if templ_7745c5c3_Err != nil { 2023 return templ_7745c5c3_Err 2047 return templ_7745c5c3_Err 2024 } 2048 } 2025 var templ_7745c5c3_Var99 string 2049 var templ_7745c5c3_Var99 string 2026 templ_7745c5c3_Var99, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(len(p.Commits))) 2050 templ_7745c5c3_Var99, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(len(p.Commits))) 2027 if templ_7745c5c3_Err != nil { 2051 if templ_7745c5c3_Err != nil { 2028 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 375, Col: 71} 2052 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 382, Col: 71} 2029 } 2053 } 2030 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var99)) 2054 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var99)) 2031 if templ_7745c5c3_Err != nil { 2055 if templ_7745c5c3_Err != nil { 2032 return templ_7745c5c3_Err 2056 return templ_7745c5c3_Err 2033 } 2057 } 2034 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 185, "</span></h2><ul class=\"pcommits\">" ) 2058 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 189, "</span></h2><ul class=\"pcommits\">" ) 2035 if templ_7745c5c3_Err != nil { 2059 if templ_7745c5c3_Err != nil { 2036 return templ_7745c5c3_Err 2060 return templ_7745c5c3_Err 2037 } 2061 } 2038 for _, c := range p.Commits { 2062 for _, c := range p.Commits { 2039 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 186, "<li" ) 2063 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 190, "<li" ) 2040 if templ_7745c5c3_Err != nil { 2064 if templ_7745c5c3_Err != nil { 2041 return templ_7745c5c3_Err 2065 return templ_7745c5c3_Err 2042 } 2066 } 2043 if c.New { 2067 if c.New { 2044 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 187, " data-new" ) 2068 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 191, " data-new" ) 2045 if templ_7745c5c3_Err != nil { 2069 if templ_7745c5c3_Err != nil { 2046 return templ_7745c5c3_Err 2070 return templ_7745c5c3_Err 2047 } 2071 } 2048 } 2072 } 2049 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 188, "><a href=\"" ) 2073 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 192, "><a href=\"" ) 2050 if templ_7745c5c3_Err != nil { 2074 if templ_7745c5c3_Err != nil { 2051 return templ_7745c5c3_Err 2075 return templ_7745c5c3_Err 2052 } 2076 } 2053 var templ_7745c5c3_Var100 templ.SafeURL 2077 var templ_7745c5c3_Var100 templ.SafeURL 2054 templ_7745c5c3_Var100, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Href)) 2078 templ_7745c5c3_Var100, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.Href)) 2055 if templ_7745c5c3_Err != nil { 2079 if templ_7745c5c3_Err != nil { 2056 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 379, Col: 36} 2080 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 386, Col: 36} 2057 } 2081 } 2058 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var100)) 2082 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var100)) 2059 if templ_7745c5c3_Err != nil { 2083 if templ_7745c5c3_Err != nil { 2060 return templ_7745c5c3_Err 2084 return templ_7745c5c3_Err 2061 } 2085 } 2062 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 189, "\">" ) 2086 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 193, "\">" ) 2063 if templ_7745c5c3_Err != nil { 2087 if templ_7745c5c3_Err != nil { 2064 return templ_7745c5c3_Err 2088 return templ_7745c5c3_Err 2065 } 2089 } 2066 var templ_7745c5c3_Var101 string 2090 var templ_7745c5c3_Var101 string 2067 templ_7745c5c3_Var101, templ_7745c5c3_Err = templ.JoinStringErrs(c.Short) 2091 templ_7745c5c3_Var101, templ_7745c5c3_Err = templ.JoinStringErrs(c.Short) 2068 if templ_7745c5c3_Err != nil { 2092 if templ_7745c5c3_Err != nil { 2069 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 379, Col: 48} 2093 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 386, Col: 48} 2070 } 2094 } 2071 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var101)) 2095 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var101)) 2072 if templ_7745c5c3_Err != nil { 2096 if templ_7745c5c3_Err != nil { 2073 return templ_7745c5c3_Err 2097 return templ_7745c5c3_Err 2074 } 2098 } 2075 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 190, "</a> <span class=\"s\">" ) 2099 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 194, "</a> <span class=\"s\">" ) 2076 if templ_7745c5c3_Err != nil { 2100 if templ_7745c5c3_Err != nil { 2077 return templ_7745c5c3_Err 2101 return templ_7745c5c3_Err 2078 } 2102 } 2079 var templ_7745c5c3_Var102 string 2103 var templ_7745c5c3_Var102 string 2080 templ_7745c5c3_Var102, templ_7745c5c3_Err = templ.JoinStringErrs(c.Subject) 2104 templ_7745c5c3_Var102, templ_7745c5c3_Err = templ.JoinStringErrs(c.Subject) 2081 if templ_7745c5c3_Err != nil { 2105 if templ_7745c5c3_Err != nil { 2082 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 380, Col: 32} 2106 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 387, Col: 32} 2083 } 2107 } 2084 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var102)) 2108 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var102)) 2085 if templ_7745c5c3_Err != nil { 2109 if templ_7745c5c3_Err != nil { 2086 return templ_7745c5c3_Err 2110 return templ_7745c5c3_Err 2087 } 2111 } 2088 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 191, "</span> " ) 2112 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 195, "</span> " ) 2089 if templ_7745c5c3_Err != nil { 2113 if templ_7745c5c3_Err != nil { 2090 return templ_7745c5c3_Err 2114 return templ_7745c5c3_Err 2091 } 2115 } ⋯ 2 hidden lines@@ -2157,76 +2181,76 @@ func mrRail(p MRPage) templ.Component { 2157 var templ_7745c5c3_Var107 string 2181 var templ_7745c5c3_Var107 string 2158 templ_7745c5c3_Var107, templ_7745c5c3_Err = templ.JoinStringErrs(" · new" ) 2182 templ_7745c5c3_Var107, templ_7745c5c3_Err = templ.JoinStringErrs(" · new" ) 2159 if templ_7745c5c3_Err != nil { 2183 if templ_7745c5c3_Err != nil { 2160 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 390, Col: 18} 2184 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 397, Col: 18} 2161 } 2185 } 2162 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var107)) 2186 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var107)) 2163 if templ_7745c5c3_Err != nil { 2187 if templ_7745c5c3_Err != nil { 2164 return templ_7745c5c3_Err 2188 return templ_7745c5c3_Err 2165 } 2189 } 2166 } 2190 } 2167 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 197, "</span></li>" ) 2191 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 201, "</span></li>" ) 2168 if templ_7745c5c3_Err != nil { 2192 if templ_7745c5c3_Err != nil { 2169 return templ_7745c5c3_Err 2193 return templ_7745c5c3_Err 2170 } 2194 } 2171 } 2195 } 2172 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 198, "</ul>" ) 2196 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 202, "</ul>" ) 2173 if templ_7745c5c3_Err != nil { 2197 if templ_7745c5c3_Err != nil { 2174 return templ_7745c5c3_Err 2198 return templ_7745c5c3_Err 2175 } 2199 } 2176 if len(p.Commits) == 0 { 2200 if len(p.Commits) == 0 { 2177 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 199, "<p class=\"dim\">no commit to merge.</p>" ) 2201 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 203, "<p class=\"dim\">no commit to merge.</p>" ) 2178 if templ_7745c5c3_Err != nil { 2202 if templ_7745c5c3_Err != nil { 2179 return templ_7745c5c3_Err 2203 return templ_7745c5c3_Err 2180 } 2204 } 2181 } 2205 } 2182 if p.CommitsNote != "" { 2206 if p.CommitsNote != "" { 2183 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 200, "<p class=\"note\">" ) 2207 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 204, "<p class=\"note\">" ) 2184 if templ_7745c5c3_Err != nil { 2208 if templ_7745c5c3_Err != nil { 2185 return templ_7745c5c3_Err 2209 return templ_7745c5c3_Err 2186 } 2210 } 2187 var templ_7745c5c3_Var108 string 2211 var templ_7745c5c3_Var108 string 2188 templ_7745c5c3_Var108, templ_7745c5c3_Err = templ.JoinStringErrs(p.CommitsNote) 2212 templ_7745c5c3_Var108, templ_7745c5c3_Err = templ.JoinStringErrs(p.CommitsNote) 2189 if templ_7745c5c3_Err != nil { 2213 if templ_7745c5c3_Err != nil { 2190 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 400, Col: 34} 2214 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 407, Col: 34} 2191 } 2215 } 2192 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var108)) 2216 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var108)) 2193 if templ_7745c5c3_Err != nil { 2217 if templ_7745c5c3_Err != nil { 2194 return templ_7745c5c3_Err 2218 return templ_7745c5c3_Err 2195 } 2219 } 2196 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 201, "</p>" ) 2220 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 205, "</p>" ) 2197 if templ_7745c5c3_Err != nil { 2221 if templ_7745c5c3_Err != nil { 2198 return templ_7745c5c3_Err 2222 return templ_7745c5c3_Err 2199 } 2223 } 2200 } 2224 } 2201 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 202, "</section><section aria-labelledby=\"r-settings\"><h2 id=\"r-settings\">Settings</h2><dl class=\"kv\"><dt>modes</dt><dd>" ) 2225 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 206, "</section><section aria-labelledby=\"r-settings\"><h2 id=\"r-settings\">Settings</h2><dl class=\"kv\"><dt>modes</dt><dd>" ) 2202 if templ_7745c5c3_Err != nil { 2226 if templ_7745c5c3_Err != nil { 2203 return templ_7745c5c3_Err 2227 return templ_7745c5c3_Err 2204 } 2228 } 2205 var templ_7745c5c3_Var109 string 2229 var templ_7745c5c3_Var109 string 2206 templ_7745c5c3_Var109, templ_7745c5c3_Err = templ.JoinStringErrs(strings.Join(p.Modes, ", " )) 2230 templ_7745c5c3_Var109, templ_7745c5c3_Err = templ.JoinStringErrs(strings.Join(p.Modes, ", " )) 2207 if templ_7745c5c3_Err != nil { 2231 if templ_7745c5c3_Err != nil { 2208 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 407, Col: 36} 2232 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 414, Col: 36} 2209 } 2233 } 2210 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var109)) 2234 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var109)) 2211 if templ_7745c5c3_Err != nil { 2235 if templ_7745c5c3_Err != nil { 2212 return templ_7745c5c3_Err 2236 return templ_7745c5c3_Err 2213 } 2237 } 2214 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 203, "</dd><dt>checks</dt><dd>" ) 2238 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 207, "</dd><dt>checks</dt><dd>" ) 2215 if templ_7745c5c3_Err != nil { 2239 if templ_7745c5c3_Err != nil { 2216 return templ_7745c5c3_Err 2240 return templ_7745c5c3_Err 2217 } 2241 } 2218 if p.ChecksBlock { 2242 if p.ChecksBlock { 2219 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 204, "failing ones block the merge" ) 2243 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 208, "failing ones block the merge" ) 2220 if templ_7745c5c3_Err != nil { 2244 if templ_7745c5c3_Err != nil { 2221 return templ_7745c5c3_Err 2245 return templ_7745c5c3_Err 2222 } 2246 } 2223 } else { 2247 } else { 2224 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 205, "do not block the merge" ) 2248 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 209, "do not block the merge" ) 2225 if templ_7745c5c3_Err != nil { 2249 if templ_7745c5c3_Err != nil { 2226 return templ_7745c5c3_Err 2250 return templ_7745c5c3_Err 2227 } 2251 } 2228 } 2252 } 2229 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 206, "</dd></dl></section>" ) 2253 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 210, "</dd></dl></section>" ) 2230 if templ_7745c5c3_Err != nil { 2254 if templ_7745c5c3_Err != nil { 2231 return templ_7745c5c3_Err 2255 return templ_7745c5c3_Err 2232 } 2256 } ⋯ 1 hidden line@@ -2396,186 +2420,186 @@ func mergeMenu(p MRPage) templ.Component { 2396 var templ_7745c5c3_Var115 string 2420 var templ_7745c5c3_Var115 string 2397 templ_7745c5c3_Var115, templ_7745c5c3_Err = templ.JoinStringErrs(p.HeadShort) 2421 templ_7745c5c3_Var115, templ_7745c5c3_Err = templ.JoinStringErrs(p.HeadShort) 2398 if templ_7745c5c3_Err != nil { 2422 if templ_7745c5c3_Err != nil { 2399 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 459, Col: 19} 2423 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 466, Col: 19} 2400 } 2424 } 2401 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var115)) 2425 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var115)) 2402 if templ_7745c5c3_Err != nil { 2426 if templ_7745c5c3_Err != nil { 2403 return templ_7745c5c3_Err 2427 return templ_7745c5c3_Err 2404 } 2428 } 2405 } 2429 } 2406 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 219, "</dd><dt>into</dt><dd>" ) 2430 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 223, "</dd><dt>into</dt><dd>" ) 2407 if templ_7745c5c3_Err != nil { 2431 if templ_7745c5c3_Err != nil { 2408 return templ_7745c5c3_Err 2432 return templ_7745c5c3_Err 2409 } 2433 } 2410 var templ_7745c5c3_Var116 string 2434 var templ_7745c5c3_Var116 string 2411 templ_7745c5c3_Var116, templ_7745c5c3_Err = templ.JoinStringErrs(p.Target) 2435 templ_7745c5c3_Var116, templ_7745c5c3_Err = templ.JoinStringErrs(p.Target) 2412 if templ_7745c5c3_Err != nil { 2436 if templ_7745c5c3_Err != nil { 2413 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 463, Col: 18} 2437 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 470, Col: 18} 2414 } 2438 } 2415 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var116)) 2439 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var116)) 2416 if templ_7745c5c3_Err != nil { 2440 if templ_7745c5c3_Err != nil { 2417 return templ_7745c5c3_Err 2441 return templ_7745c5c3_Err 2418 } 2442 } 2419 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 220, "</dd></dl>" ) 2443 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 224, "</dd></dl>" ) 2420 if templ_7745c5c3_Err != nil { 2444 if templ_7745c5c3_Err != nil { 2421 return templ_7745c5c3_Err 2445 return templ_7745c5c3_Err 2422 } 2446 } 2423 if p.Box.ReadyAction != "" { 2447 if p.Box.ReadyAction != "" { 2424 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 221, "<p class=\"d-draft\">this is a draft: it cannot be merged until it is ready for review.</p><form class=\"d-btns\" method=\"post\" action=\"" ) 2448 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 225, "<p class=\"d-draft\">this is a draft: it cannot be merged until it is ready for review.</p><form class=\"d-btns\" method=\"post\" action=\"" ) 2425 if templ_7745c5c3_Err != nil { 2449 if templ_7745c5c3_Err != nil { 2426 return templ_7745c5c3_Err 2450 return templ_7745c5c3_Err 2427 } 2451 } 2428 var templ_7745c5c3_Var117 templ.SafeURL 2452 var templ_7745c5c3_Var117 templ.SafeURL 2429 templ_7745c5c3_Var117, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Box.ReadyAction)) 2453 templ_7745c5c3_Var117, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Box.ReadyAction)) 2430 if templ_7745c5c3_Err != nil { 2454 if templ_7745c5c3_Err != nil { 2431 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 467, Col: 80} 2455 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 474, Col: 80} 2432 } 2456 } 2433 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var117)) 2457 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var117)) 2434 if templ_7745c5c3_Err != nil { 2458 if templ_7745c5c3_Err != nil { 2435 return templ_7745c5c3_Err 2459 return templ_7745c5c3_Err 2436 } 2460 } 2437 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 222, "\"><button type=\"submit\" class=\"btn primary\" data-default title=\"remove the draft prefix from the title\">Ready for review</button></form>" ) 2461 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 226, "\"><button type=\"submit\" class=\"btn primary\" data-default title=\"remove the draft prefix from the title\">Ready for review</button></form>" ) 2438 if templ_7745c5c3_Err != nil { 2462 if templ_7745c5c3_Err != nil { 2439 return templ_7745c5c3_Err 2463 return templ_7745c5c3_Err 2440 } 2464 } 2441 } else if !p.Box.HeadGone { 2465 } else if !p.Box.HeadGone { 2442 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 223, "<form class=\"d-acts\" method=\"post\" action=\"" ) 2466 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 227, "<form class=\"d-acts\" method=\"post\" action=\"" ) 2443 if templ_7745c5c3_Err != nil { 2467 if templ_7745c5c3_Err != nil { 2444 return templ_7745c5c3_Err 2468 return templ_7745c5c3_Err 2445 } 2469 } 2446 var templ_7745c5c3_Var118 templ.SafeURL 2470 var templ_7745c5c3_Var118 templ.SafeURL 2447 templ_7745c5c3_Var118, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Box.MergeAction)) 2471 templ_7745c5c3_Var118, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Box.MergeAction)) 2448 if templ_7745c5c3_Err != nil { 2472 if templ_7745c5c3_Err != nil { 2449 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 471, Col: 80} 2473 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 478, Col: 80} 2450 } 2474 } 2451 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var118)) 2475 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var118)) 2452 if templ_7745c5c3_Err != nil { 2476 if templ_7745c5c3_Err != nil { 2453 return templ_7745c5c3_Err 2477 return templ_7745c5c3_Err 2454 } 2478 } 2455 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 224, "\"><input type=\"hidden\" name=\"head_id\" value=\"" ) 2479 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 228, "\"><input type=\"hidden\" name=\"head_id\" value=\"" ) 2456 if templ_7745c5c3_Err != nil { 2480 if templ_7745c5c3_Err != nil { 2457 return templ_7745c5c3_Err 2481 return templ_7745c5c3_Err 2458 } 2482 } 2459 var templ_7745c5c3_Var119 string 2483 var templ_7745c5c3_Var119 string 2460 templ_7745c5c3_Var119, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Box.Head) 2484 templ_7745c5c3_Var119, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Box.Head) 2461 if templ_7745c5c3_Err != nil { 2485 if templ_7745c5c3_Err != nil { 2462 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 472, Col: 59} 2486 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 479, Col: 59} 2463 } 2487 } 2464 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var119) 2488 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var119) 2465 if templ_7745c5c3_Err != nil { 2489 if templ_7745c5c3_Err != nil { 2466 return templ_7745c5c3_Err 2490 return templ_7745c5c3_Err 2467 } 2491 } 2468 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 225, "\"><fieldset class=\"d-modes\"><legend class=\"sr\">merge mode</legend> " ) 2492 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 229, "\"><fieldset class=\"d-modes\"><legend class=\"sr\">merge mode</legend> " ) 2469 if templ_7745c5c3_Err != nil { 2493 if templ_7745c5c3_Err != nil { 2470 return templ_7745c5c3_Err 2494 return templ_7745c5c3_Err 2471 } 2495 } 2472 for i, m := range p.Box.Modes { 2496 for i, m := range p.Box.Modes { 2473 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 226, "<label><input type=\"radio\" name=\"mode\" value=\"" ) 2497 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 230, "<label><input type=\"radio\" name=\"mode\" value=\"" ) 2474 if templ_7745c5c3_Err != nil { 2498 if templ_7745c5c3_Err != nil { 2475 return templ_7745c5c3_Err 2499 return templ_7745c5c3_Err 2476 } 2500 } 2477 var templ_7745c5c3_Var120 string 2501 var templ_7745c5c3_Var120 string 2478 templ_7745c5c3_Var120, templ_7745c5c3_Err = templ.ResolveAttributeValue(m.Value) 2502 templ_7745c5c3_Var120, templ_7745c5c3_Err = templ.ResolveAttributeValue(m.Value) 2479 if templ_7745c5c3_Err != nil { 2503 if templ_7745c5c3_Err != nil { 2480 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 477, Col: 55} 2504 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 484, Col: 55} 2481 } 2505 } 2482 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var120) 2506 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var120) 2483 if templ_7745c5c3_Err != nil { 2507 if templ_7745c5c3_Err != nil { 2484 return templ_7745c5c3_Err 2508 return templ_7745c5c3_Err 2485 } 2509 } 2486 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 227, "\"" ) 2510 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 231, "\"" ) 2487 if templ_7745c5c3_Err != nil { 2511 if templ_7745c5c3_Err != nil { 2488 return templ_7745c5c3_Err 2512 return templ_7745c5c3_Err 2489 } 2513 } 2490 if i == 0 { 2514 if i == 0 { 2491 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 228, " checked" ) 2515 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 232, " checked" ) 2492 if templ_7745c5c3_Err != nil { 2516 if templ_7745c5c3_Err != nil { 2493 return templ_7745c5c3_Err 2517 return templ_7745c5c3_Err 2494 } 2518 } 2495 } 2519 } 2496 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 229, "> " ) 2520 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 233, "> " ) 2497 if templ_7745c5c3_Err != nil { 2521 if templ_7745c5c3_Err != nil { 2498 return templ_7745c5c3_Err 2522 return templ_7745c5c3_Err 2499 } 2523 } 2500 var templ_7745c5c3_Var121 string 2524 var templ_7745c5c3_Var121 string 2501 templ_7745c5c3_Var121, templ_7745c5c3_Err = templ.JoinStringErrs(m.Label) 2525 templ_7745c5c3_Var121, templ_7745c5c3_Err = templ.JoinStringErrs(m.Label) 2502 if templ_7745c5c3_Err != nil { 2526 if templ_7745c5c3_Err != nil { 2503 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 478, Col: 17} 2527 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 485, Col: 17} 2504 } 2528 } 2505 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var121)) 2529 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var121)) 2506 if templ_7745c5c3_Err != nil { 2530 if templ_7745c5c3_Err != nil { 2507 return templ_7745c5c3_Err 2531 return templ_7745c5c3_Err 2508 } 2532 } 2509 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 230, " " ) 2533 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 234, " " ) 2510 if templ_7745c5c3_Err != nil { 2534 if templ_7745c5c3_Err != nil { 2511 return templ_7745c5c3_Err 2535 return templ_7745c5c3_Err 2512 } 2536 } 2513 if i < 9 { 2537 if i < 9 { 2514 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 231, "<kbd aria-hidden=\"true\">" ) 2538 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 235, "<kbd aria-hidden=\"true\">" ) 2515 if templ_7745c5c3_Err != nil { 2539 if templ_7745c5c3_Err != nil { 2516 return templ_7745c5c3_Err 2540 return templ_7745c5c3_Err 2517 } 2541 } 2518 var templ_7745c5c3_Var122 string 2542 var templ_7745c5c3_Var122 string 2519 templ_7745c5c3_Var122, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(i + 1)) 2543 templ_7745c5c3_Var122, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(i + 1)) 2520 if templ_7745c5c3_Err != nil { 2544 if templ_7745c5c3_Err != nil { 2521 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 480, Col: 46} 2545 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 487, Col: 46} 2522 } 2546 } 2523 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var122)) 2547 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var122)) 2524 if templ_7745c5c3_Err != nil { 2548 if templ_7745c5c3_Err != nil { 2525 return templ_7745c5c3_Err 2549 return templ_7745c5c3_Err 2526 } 2550 } 2527 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 232, "</kbd>" ) 2551 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 236, "</kbd>" ) 2528 if templ_7745c5c3_Err != nil { 2552 if templ_7745c5c3_Err != nil { 2529 return templ_7745c5c3_Err 2553 return templ_7745c5c3_Err 2530 } 2554 } 2531 } 2555 } 2532 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 233, "</label>" ) 2556 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 237, "</label>" ) 2533 if templ_7745c5c3_Err != nil { 2557 if templ_7745c5c3_Err != nil { 2534 return templ_7745c5c3_Err 2558 return templ_7745c5c3_Err 2535 } 2559 } 2536 } 2560 } 2537 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 234, "</fieldset>" ) 2561 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 238, "</fieldset>" ) 2538 if templ_7745c5c3_Err != nil { 2562 if templ_7745c5c3_Err != nil { 2539 return templ_7745c5c3_Err 2563 return templ_7745c5c3_Err 2540 } 2564 } 2541 if p.Box.CanDeleteBranch { 2565 if p.Box.CanDeleteBranch { 2542 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 235, "<label class=\"d-check\"><input type=\"checkbox\" name=\"delete_branch\" value=\"1\"> delete " ) 2566 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 239, "<label class=\"d-check\"><input type=\"checkbox\" name=\"delete_branch\" value=\"1\"> delete " ) 2543 if templ_7745c5c3_Err != nil { 2567 if templ_7745c5c3_Err != nil { 2544 return templ_7745c5c3_Err 2568 return templ_7745c5c3_Err 2545 } 2569 } 2546 var templ_7745c5c3_Var123 string 2570 var templ_7745c5c3_Var123 string 2547 templ_7745c5c3_Var123, templ_7745c5c3_Err = templ.JoinStringErrs(p.Source) 2571 templ_7745c5c3_Var123, templ_7745c5c3_Err = templ.JoinStringErrs(p.Source) 2548 if templ_7745c5c3_Err != nil { 2572 if templ_7745c5c3_Err != nil { 2549 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 486, Col: 102} 2573 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 493, Col: 102} 2550 } 2574 } 2551 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var123)) 2575 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var123)) 2552 if templ_7745c5c3_Err != nil { 2576 if templ_7745c5c3_Err != nil { 2553 return templ_7745c5c3_Err 2577 return templ_7745c5c3_Err 2554 } 2578 } 2555 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 236, " after the merge <kbd aria-hidden=\"true\">D</kbd></label>" ) 2579 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 240, " after the merge <kbd aria-hidden=\"true\">D</kbd></label>" ) 2556 if templ_7745c5c3_Err != nil { 2580 if templ_7745c5c3_Err != nil { 2557 return templ_7745c5c3_Err 2581 return templ_7745c5c3_Err 2558 } 2582 } 2559 } 2583 } 2560 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 237, "<div class=\"d-btns\"><button type=\"submit\" class=\"btn primary\" data-default>Merge into " ) 2584 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 241, "<div class=\"d-btns\"><button type=\"submit\" class=\"btn primary\" data-default>Merge into " ) 2561 if templ_7745c5c3_Err != nil { 2585 if templ_7745c5c3_Err != nil { 2562 return templ_7745c5c3_Err 2586 return templ_7745c5c3_Err 2563 } 2587 } 2564 var templ_7745c5c3_Var124 string 2588 var templ_7745c5c3_Var124 string 2565 templ_7745c5c3_Var124, templ_7745c5c3_Err = templ.JoinStringErrs(p.Target) 2589 templ_7745c5c3_Var124, templ_7745c5c3_Err = templ.JoinStringErrs(p.Target) 2566 if templ_7745c5c3_Err != nil { 2590 if templ_7745c5c3_Err != nil { 2567 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 489, Col: 82} 2591 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 496, Col: 82} 2568 } 2592 } 2569 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var124)) 2593 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var124)) 2570 if templ_7745c5c3_Err != nil { 2594 if templ_7745c5c3_Err != nil { 2571 return templ_7745c5c3_Err 2595 return templ_7745c5c3_Err 2572 } 2596 } 2573 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 238, "</button></div></form>" ) 2597 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 242, "</button></div></form>" ) 2574 if templ_7745c5c3_Err != nil { 2598 if templ_7745c5c3_Err != nil { 2575 return templ_7745c5c3_Err 2599 return templ_7745c5c3_Err 2576 } 2600 } 2577 } 2601 } 2578 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 239, "</div></details>" ) 2602 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 243, "</div></details>" ) 2579 if templ_7745c5c3_Err != nil { 2603 if templ_7745c5c3_Err != nil { 2580 return templ_7745c5c3_Err 2604 return templ_7745c5c3_Err 2581 } 2605 } ⋯ 24 hidden lines@@ -2606,61 +2630,61 @@ func moreMenu(p MRPage) templ.Component { 2606 templ_7745c5c3_Var125 = templ.NopComponent 2630 templ_7745c5c3_Var125 = templ.NopComponent 2607 } 2631 } 2608 ctx = templ.ClearChildren(ctx) 2632 ctx = templ.ClearChildren(ctx) 2609 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 240, "<details class=\"menu omenu\"><summary class=\"btn icon\" aria-label=\"More actions\" title=\"more actions\">⋯</summary><div class=\"menu-pop\" role=\"group\" aria-label=\"More actions\">" ) 2633 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 244, "<details class=\"menu omenu\"><summary class=\"btn icon\" aria-label=\"More actions\" title=\"more actions\">⋯</summary><div class=\"menu-pop\" role=\"group\" aria-label=\"More actions\">" ) 2610 if templ_7745c5c3_Err != nil { 2634 if templ_7745c5c3_Err != nil { 2611 return templ_7745c5c3_Err 2635 return templ_7745c5c3_Err 2612 } 2636 } 2613 if p.Box.CanMarkRead { 2637 if p.Box.CanMarkRead { 2614 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 241, "<form method=\"post\" action=\"" ) 2638 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 245, "<form method=\"post\" action=\"" ) 2615 if templ_7745c5c3_Err != nil { 2639 if templ_7745c5c3_Err != nil { 2616 return templ_7745c5c3_Err 2640 return templ_7745c5c3_Err 2617 } 2641 } 2618 var templ_7745c5c3_Var126 templ.SafeURL 2642 var templ_7745c5c3_Var126 templ.SafeURL 2619 templ_7745c5c3_Var126, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Box.ReadAction)) 2643 templ_7745c5c3_Var126, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Box.ReadAction)) 2620 if templ_7745c5c3_Err != nil { 2644 if templ_7745c5c3_Err != nil { 2621 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 504, Col: 64} 2645 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 511, Col: 64} 2622 } 2646 } 2623 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var126)) 2647 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var126)) 2624 if templ_7745c5c3_Err != nil { 2648 if templ_7745c5c3_Err != nil { 2625 return templ_7745c5c3_Err 2649 return templ_7745c5c3_Err 2626 } 2650 } 2627 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 242, "\"><input type=\"hidden\" name=\"head_id\" value=\"" ) 2651 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 246, "\"><input type=\"hidden\" name=\"head_id\" value=\"" ) 2628 if templ_7745c5c3_Err != nil { 2652 if templ_7745c5c3_Err != nil { 2629 return templ_7745c5c3_Err 2653 return templ_7745c5c3_Err 2630 } 2654 } 2631 var templ_7745c5c3_Var127 string 2655 var templ_7745c5c3_Var127 string 2632 templ_7745c5c3_Var127, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Box.Head) 2656 templ_7745c5c3_Var127, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Box.Head) 2633 if templ_7745c5c3_Err != nil { 2657 if templ_7745c5c3_Err != nil { 2634 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 505, Col: 59} 2658 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 512, Col: 59} 2635 } 2659 } 2636 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var127) 2660 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var127) 2637 if templ_7745c5c3_Err != nil { 2661 if templ_7745c5c3_Err != nil { 2638 return templ_7745c5c3_Err 2662 return templ_7745c5c3_Err 2639 } 2663 } 2640 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 243, "\"> <button type=\"submit\" title=\"the next visit can show only what changed after this head\" class=\"btn\" aria-keyshortcuts=\"Shift+R\" data-read>Mark read <kbd aria-hidden=\"true\">R</kbd></button></form>" ) 2664 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 247, "\"> <button type=\"submit\" title=\"the next visit can show only what changed after this head\" class=\"btn\" aria-keyshortcuts=\"Shift+R\" data-read>Mark read <kbd aria-hidden=\"true\">R</kbd></button></form>" ) 2641 if templ_7745c5c3_Err != nil { 2665 if templ_7745c5c3_Err != nil { 2642 return templ_7745c5c3_Err 2666 return templ_7745c5c3_Err 2643 } 2667 } 2644 } 2668 } 2645 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 244, "<form method=\"post\" action=\"" ) 2669 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 248, "<form method=\"post\" action=\"" ) 2646 if templ_7745c5c3_Err != nil { 2670 if templ_7745c5c3_Err != nil { 2647 return templ_7745c5c3_Err 2671 return templ_7745c5c3_Err 2648 } 2672 } 2649 var templ_7745c5c3_Var128 templ.SafeURL 2673 var templ_7745c5c3_Var128 templ.SafeURL 2650 templ_7745c5c3_Var128, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Box.CloseAction)) 2674 templ_7745c5c3_Var128, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Box.CloseAction)) 2651 if templ_7745c5c3_Err != nil { 2675 if templ_7745c5c3_Err != nil { 2652 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 509, Col: 64} 2676 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 516, Col: 64} 2653 } 2677 } 2654 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var128)) 2678 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var128)) 2655 if templ_7745c5c3_Err != nil { 2679 if templ_7745c5c3_Err != nil { 2656 return templ_7745c5c3_Err 2680 return templ_7745c5c3_Err 2657 } 2681 } 2658 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 245, "\"><button type=\"submit\" title=\"close without merging; the branch is kept\" class=\"btn danger\">Close</button></form>" ) 2682 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 249, "\"><button type=\"submit\" title=\"close without merging; the branch is kept\" class=\"btn danger\">Close</button></form>" ) 2659 if templ_7745c5c3_Err != nil { 2683 if templ_7745c5c3_Err != nil { 2660 return templ_7745c5c3_Err 2684 return templ_7745c5c3_Err 2661 } 2685 } 2662 if !p.Box.HeadGone && p.Box.ReadyAction == "" { 2686 if !p.Box.HeadGone && p.Box.ReadyAction == "" { 2663 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 246, "<details class=\"d-or\"><summary class=\"mute\">or from a terminal</summary>" ) 2687 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 250, "<details class=\"d-or\"><summary class=\"mute\">or from a terminal</summary>" ) 2664 if templ_7745c5c3_Err != nil { 2688 if templ_7745c5c3_Err != nil { 2665 return templ_7745c5c3_Err 2689 return templ_7745c5c3_Err 2666 } 2690 } ⋯ 34 hidden lines@@ -2714,263 +2738,263 @@ func Compare(l Layout, p ComparePage) templ.Component { 2714 }() 2738 }() 2715 } 2739 } 2716 ctx = templ.InitializeContext(ctx) 2740 ctx = templ.InitializeContext(ctx) 2717 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 249, "<header class=\"show mr-h\"><h1>" ) 2741 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 253, "<header class=\"show mr-h\"><h1>" ) 2718 if templ_7745c5c3_Err != nil { 2742 if templ_7745c5c3_Err != nil { 2719 return templ_7745c5c3_Err 2743 return templ_7745c5c3_Err 2720 } 2744 } 2721 var templ_7745c5c3_Var131 string 2745 var templ_7745c5c3_Var131 string 2722 templ_7745c5c3_Var131, templ_7745c5c3_Err = templ.JoinStringErrs(p.Source) 2746 templ_7745c5c3_Var131, templ_7745c5c3_Err = templ.JoinStringErrs(p.Source) 2723 if templ_7745c5c3_Err != nil { 2747 if templ_7745c5c3_Err != nil { 2724 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 525, Col: 17} 2748 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 532, Col: 17} 2725 } 2749 } 2726 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var131)) 2750 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var131)) 2727 if templ_7745c5c3_Err != nil { 2751 if templ_7745c5c3_Err != nil { 2728 return templ_7745c5c3_Err 2752 return templ_7745c5c3_Err 2729 } 2753 } 2730 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 250, " → " ) 2754 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 254, " → " ) 2731 if templ_7745c5c3_Err != nil { 2755 if templ_7745c5c3_Err != nil { 2732 return templ_7745c5c3_Err 2756 return templ_7745c5c3_Err 2733 } 2757 } 2734 var templ_7745c5c3_Var132 string 2758 var templ_7745c5c3_Var132 string 2735 templ_7745c5c3_Var132, templ_7745c5c3_Err = templ.JoinStringErrs(p.Target) 2759 templ_7745c5c3_Var132, templ_7745c5c3_Err = templ.JoinStringErrs(p.Target) 2736 if templ_7745c5c3_Err != nil { 2760 if templ_7745c5c3_Err != nil { 2737 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 525, Col: 34} 2761 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 532, Col: 34} 2738 } 2762 } 2739 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var132)) 2763 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var132)) 2740 if templ_7745c5c3_Err != nil { 2764 if templ_7745c5c3_Err != nil { 2741 return templ_7745c5c3_Err 2765 return templ_7745c5c3_Err 2742 } 2766 } 2743 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 251, "</h1><dl class=\"kv show-kv\"><dt>branch</dt><dd><a href=\"" ) 2767 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 255, "</h1><dl class=\"kv show-kv\"><dt>branch</dt><dd><a href=\"" ) 2744 if templ_7745c5c3_Err != nil { 2768 if templ_7745c5c3_Err != nil { 2745 return templ_7745c5c3_Err 2769 return templ_7745c5c3_Err 2746 } 2770 } 2747 var templ_7745c5c3_Var133 templ.SafeURL 2771 var templ_7745c5c3_Var133 templ.SafeURL 2748 templ_7745c5c3_Var133, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.SourceHref)) 2772 templ_7745c5c3_Var133, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.SourceHref)) 2749 if templ_7745c5c3_Err != nil { 2773 if templ_7745c5c3_Err != nil { 2750 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 528, Col: 45} 2774 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 535, Col: 45} 2751 } 2775 } 2752 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var133)) 2776 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var133)) 2753 if templ_7745c5c3_Err != nil { 2777 if templ_7745c5c3_Err != nil { 2754 return templ_7745c5c3_Err 2778 return templ_7745c5c3_Err 2755 } 2779 } 2756 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 252, "\">" ) 2780 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 256, "\">" ) 2757 if templ_7745c5c3_Err != nil { 2781 if templ_7745c5c3_Err != nil { 2758 return templ_7745c5c3_Err 2782 return templ_7745c5c3_Err 2759 } 2783 } 2760 var templ_7745c5c3_Var134 string 2784 var templ_7745c5c3_Var134 string 2761 templ_7745c5c3_Var134, templ_7745c5c3_Err = templ.JoinStringErrs(p.Source) 2785 templ_7745c5c3_Var134, templ_7745c5c3_Err = templ.JoinStringErrs(p.Source) 2762 if templ_7745c5c3_Err != nil { 2786 if templ_7745c5c3_Err != nil { 2763 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 528, Col: 58} 2787 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 535, Col: 58} 2764 } 2788 } 2765 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var134)) 2789 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var134)) 2766 if templ_7745c5c3_Err != nil { 2790 if templ_7745c5c3_Err != nil { 2767 return templ_7745c5c3_Err 2791 return templ_7745c5c3_Err 2768 } 2792 } 2769 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 253, "</a></dd><dt>target</dt><dd><a href=\"" ) 2793 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 257, "</a></dd><dt>target</dt><dd><a href=\"" ) 2770 if templ_7745c5c3_Err != nil { 2794 if templ_7745c5c3_Err != nil { 2771 return templ_7745c5c3_Err 2795 return templ_7745c5c3_Err 2772 } 2796 } 2773 var templ_7745c5c3_Var135 templ.SafeURL 2797 var templ_7745c5c3_Var135 templ.SafeURL 2774 templ_7745c5c3_Var135, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.TargetHref)) 2798 templ_7745c5c3_Var135, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.TargetHref)) 2775 if templ_7745c5c3_Err != nil { 2799 if templ_7745c5c3_Err != nil { 2776 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 530, Col: 45} 2800 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 537, Col: 45} 2777 } 2801 } 2778 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var135)) 2802 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var135)) 2779 if templ_7745c5c3_Err != nil { 2803 if templ_7745c5c3_Err != nil { 2780 return templ_7745c5c3_Err 2804 return templ_7745c5c3_Err 2781 } 2805 } 2782 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 254, "\">" ) 2806 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 258, "\">" ) 2783 if templ_7745c5c3_Err != nil { 2807 if templ_7745c5c3_Err != nil { 2784 return templ_7745c5c3_Err 2808 return templ_7745c5c3_Err 2785 } 2809 } 2786 var templ_7745c5c3_Var136 string 2810 var templ_7745c5c3_Var136 string 2787 templ_7745c5c3_Var136, templ_7745c5c3_Err = templ.JoinStringErrs(p.Target) 2811 templ_7745c5c3_Var136, templ_7745c5c3_Err = templ.JoinStringErrs(p.Target) 2788 if templ_7745c5c3_Err != nil { 2812 if templ_7745c5c3_Err != nil { 2789 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 530, Col: 58} 2813 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 537, Col: 58} 2790 } 2814 } 2791 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var136)) 2815 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var136)) 2792 if templ_7745c5c3_Err != nil { 2816 if templ_7745c5c3_Err != nil { 2793 return templ_7745c5c3_Err 2817 return templ_7745c5c3_Err 2794 } 2818 } 2795 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 255, "</a></dd><dt>ahead</dt><dd>" ) 2819 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 259, "</a></dd><dt>ahead</dt><dd>" ) 2796 if templ_7745c5c3_Err != nil { 2820 if templ_7745c5c3_Err != nil { 2797 return templ_7745c5c3_Err 2821 return templ_7745c5c3_Err 2798 } 2822 } 2799 var templ_7745c5c3_Var137 string 2823 var templ_7745c5c3_Var137 string 2800 templ_7745c5c3_Var137, templ_7745c5c3_Err = templ.JoinStringErrs(p.AheadText) 2824 templ_7745c5c3_Var137, templ_7745c5c3_Err = templ.JoinStringErrs(p.AheadText) 2801 if templ_7745c5c3_Err != nil { 2825 if templ_7745c5c3_Err != nil { 2802 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 532, Col: 21} 2826 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 539, Col: 21} 2803 } 2827 } 2804 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var137)) 2828 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var137)) 2805 if templ_7745c5c3_Err != nil { 2829 if templ_7745c5c3_Err != nil { 2806 return templ_7745c5c3_Err 2830 return templ_7745c5c3_Err 2807 } 2831 } 2808 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 256, "</dd></dl></header>" ) 2832 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 260, "</dd></dl></header>" ) 2809 if templ_7745c5c3_Err != nil { 2833 if templ_7745c5c3_Err != nil { 2810 return templ_7745c5c3_Err 2834 return templ_7745c5c3_Err 2811 } 2835 } 2812 if p.Note != "" { 2836 if p.Note != "" { 2813 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 257, "<p class=\"notice\">" ) 2837 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 261, "<p class=\"notice\">" ) 2814 if templ_7745c5c3_Err != nil { 2838 if templ_7745c5c3_Err != nil { 2815 return templ_7745c5c3_Err 2839 return templ_7745c5c3_Err 2816 } 2840 } 2817 var templ_7745c5c3_Var138 string 2841 var templ_7745c5c3_Var138 string 2818 templ_7745c5c3_Var138, templ_7745c5c3_Err = templ.JoinStringErrs(p.Note) 2842 templ_7745c5c3_Var138, templ_7745c5c3_Err = templ.JoinStringErrs(p.Note) 2819 if templ_7745c5c3_Err != nil { 2843 if templ_7745c5c3_Err != nil { 2820 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 536, Col: 29} 2844 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 543, Col: 29} 2821 } 2845 } 2822 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var138)) 2846 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var138)) 2823 if templ_7745c5c3_Err != nil { 2847 if templ_7745c5c3_Err != nil { 2824 return templ_7745c5c3_Err 2848 return templ_7745c5c3_Err 2825 } 2849 } 2826 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 258, "</p>" ) 2850 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 262, "</p>" ) 2827 if templ_7745c5c3_Err != nil { 2851 if templ_7745c5c3_Err != nil { 2828 return templ_7745c5c3_Err 2852 return templ_7745c5c3_Err 2829 } 2853 } 2830 } 2854 } 2831 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 259, " " ) 2855 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 263, " " ) 2832 if templ_7745c5c3_Err != nil { 2856 if templ_7745c5c3_Err != nil { 2833 return templ_7745c5c3_Err 2857 return templ_7745c5c3_Err 2834 } 2858 } 2835 if p.Existing != nil { 2859 if p.Existing != nil { 2836 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 260, "<p class=\"notice\">an open merge request already covers these branches: <a href=\"" ) 2860 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 264, "<p class=\"notice\">an open merge request already covers these branches: <a href=\"" ) 2837 if templ_7745c5c3_Err != nil { 2861 if templ_7745c5c3_Err != nil { 2838 return templ_7745c5c3_Err 2862 return templ_7745c5c3_Err 2839 } 2863 } 2840 var templ_7745c5c3_Var139 templ.SafeURL 2864 var templ_7745c5c3_Var139 templ.SafeURL 2841 templ_7745c5c3_Var139, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Existing.Href)) 2865 templ_7745c5c3_Var139, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Existing.Href)) 2842 if templ_7745c5c3_Err != nil { 2866 if templ_7745c5c3_Err != nil { 2843 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 539, Col: 114} 2867 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 546, Col: 114} 2844 } 2868 } 2845 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var139)) 2869 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var139)) 2846 if templ_7745c5c3_Err != nil { 2870 if templ_7745c5c3_Err != nil { 2847 return templ_7745c5c3_Err 2871 return templ_7745c5c3_Err 2848 } 2872 } 2849 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 261, "\">" ) 2873 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 265, "\">" ) 2850 if templ_7745c5c3_Err != nil { 2874 if templ_7745c5c3_Err != nil { 2851 return templ_7745c5c3_Err 2875 return templ_7745c5c3_Err 2852 } 2876 } 2853 var templ_7745c5c3_Var140 string 2877 var templ_7745c5c3_Var140 string 2854 templ_7745c5c3_Var140, templ_7745c5c3_Err = templ.JoinStringErrs(p.Existing.Label) 2878 templ_7745c5c3_Var140, templ_7745c5c3_Err = templ.JoinStringErrs(p.Existing.Label) 2855 if templ_7745c5c3_Err != nil { 2879 if templ_7745c5c3_Err != nil { 2856 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 539, Col: 135} 2880 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 546, Col: 135} 2857 } 2881 } 2858 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var140)) 2882 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var140)) 2859 if templ_7745c5c3_Err != nil { 2883 if templ_7745c5c3_Err != nil { 2860 return templ_7745c5c3_Err 2884 return templ_7745c5c3_Err 2861 } 2885 } 2862 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 262, "</a></p>" ) 2886 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 266, "</a></p>" ) 2863 if templ_7745c5c3_Err != nil { 2887 if templ_7745c5c3_Err != nil { 2864 return templ_7745c5c3_Err 2888 return templ_7745c5c3_Err 2865 } 2889 } 2866 } 2890 } 2867 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 263, " " ) 2891 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 267, " " ) 2868 if templ_7745c5c3_Err != nil { 2892 if templ_7745c5c3_Err != nil { 2869 return templ_7745c5c3_Err 2893 return templ_7745c5c3_Err 2870 } 2894 } 2871 if p.Create != nil { 2895 if p.Create != nil { 2872 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 264, "<form class=\"cform create\" method=\"post\" action=\"" ) 2896 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 268, "<form class=\"cform create\" method=\"post\" action=\"" ) 2873 if templ_7745c5c3_Err != nil { 2897 if templ_7745c5c3_Err != nil { 2874 return templ_7745c5c3_Err 2898 return templ_7745c5c3_Err 2875 } 2899 } 2876 var templ_7745c5c3_Var141 templ.SafeURL 2900 var templ_7745c5c3_Var141 templ.SafeURL 2877 templ_7745c5c3_Var141, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Create.Action)) 2901 templ_7745c5c3_Var141, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(p.Create.Action)) 2878 if templ_7745c5c3_Err != nil { 2902 if templ_7745c5c3_Err != nil { 2879 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 542, Col: 83} 2903 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 549, Col: 83} 2880 } 2904 } 2881 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var141)) 2905 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var141)) 2882 if templ_7745c5c3_Err != nil { 2906 if templ_7745c5c3_Err != nil { 2883 return templ_7745c5c3_Err 2907 return templ_7745c5c3_Err 2884 } 2908 } 2885 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 265, "\"><input type=\"hidden\" name=\"source\" value=\"" ) 2909 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 269, "\"><input type=\"hidden\" name=\"source\" value=\"" ) 2886 if templ_7745c5c3_Err != nil { 2910 if templ_7745c5c3_Err != nil { 2887 return templ_7745c5c3_Err 2911 return templ_7745c5c3_Err 2888 } 2912 } 2889 var templ_7745c5c3_Var142 string 2913 var templ_7745c5c3_Var142 string 2890 templ_7745c5c3_Var142, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Create.Source) 2914 templ_7745c5c3_Var142, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Create.Source) 2891 if templ_7745c5c3_Err != nil { 2915 if templ_7745c5c3_Err != nil { 2892 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 543, Col: 62} 2916 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 550, Col: 62} 2893 } 2917 } 2894 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var142) 2918 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var142) 2895 if templ_7745c5c3_Err != nil { 2919 if templ_7745c5c3_Err != nil { 2896 return templ_7745c5c3_Err 2920 return templ_7745c5c3_Err 2897 } 2921 } 2898 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 266, "\"> <input type=\"hidden\" name=\"target\" value=\"" ) 2922 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 270, "\"> <input type=\"hidden\" name=\"target\" value=\"" ) 2899 if templ_7745c5c3_Err != nil { 2923 if templ_7745c5c3_Err != nil { 2900 return templ_7745c5c3_Err 2924 return templ_7745c5c3_Err 2901 } 2925 } 2902 var templ_7745c5c3_Var143 string 2926 var templ_7745c5c3_Var143 string 2903 templ_7745c5c3_Var143, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Create.Target) 2927 templ_7745c5c3_Var143, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Create.Target) 2904 if templ_7745c5c3_Err != nil { 2928 if templ_7745c5c3_Err != nil { 2905 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 544, Col: 62} 2929 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 551, Col: 62} 2906 } 2930 } 2907 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var143) 2931 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var143) 2908 if templ_7745c5c3_Err != nil { 2932 if templ_7745c5c3_Err != nil { 2909 return templ_7745c5c3_Err 2933 return templ_7745c5c3_Err 2910 } 2934 } 2911 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 267, "\"> <label for=\"mr-title\">title</label> <input id=\"mr-title\" name=\"title\" type=\"text\" maxlength=\"120\" required value=\"" ) 2935 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 271, "\"> <label for=\"mr-title\">title</label> <input id=\"mr-title\" name=\"title\" type=\"text\" maxlength=\"120\" required value=\"" ) 2912 if templ_7745c5c3_Err != nil { 2936 if templ_7745c5c3_Err != nil { 2913 return templ_7745c5c3_Err 2937 return templ_7745c5c3_Err 2914 } 2938 } 2915 var templ_7745c5c3_Var144 string 2939 var templ_7745c5c3_Var144 string 2916 templ_7745c5c3_Var144, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Create.Title) 2940 templ_7745c5c3_Var144, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.Create.Title) 2917 if templ_7745c5c3_Err != nil { 2941 if templ_7745c5c3_Err != nil { 2918 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 546, Col: 97} 2942 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 553, Col: 97} 2919 } 2943 } 2920 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var144) 2944 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var144) 2921 if templ_7745c5c3_Err != nil { 2945 if templ_7745c5c3_Err != nil { 2922 return templ_7745c5c3_Err 2946 return templ_7745c5c3_Err 2923 } 2947 } 2924 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 268, "\" autocomplete=\"off\"> <label for=\"mr-desc\">description</label> <textarea id=\"mr-desc\" name=\"description\" rows=\"4\" maxlength=\"8000\" placeholder=\"Markdown, optional\"></textarea><div class=\"f-btns\"><button type=\"submit\" class=\"btn primary\">Create merge request</button></div></form>" ) 2948 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 272, "\" autocomplete=\"off\"> <label for=\"mr-desc\">description</label> <textarea id=\"mr-desc\" name=\"description\" rows=\"4\" maxlength=\"8000\" placeholder=\"Markdown, optional\"></textarea><div class=\"f-btns\"><button type=\"submit\" class=\"btn primary\">Create merge request</button></div></form>" ) 2925 if templ_7745c5c3_Err != nil { 2949 if templ_7745c5c3_Err != nil { 2926 return templ_7745c5c3_Err 2950 return templ_7745c5c3_Err 2927 } 2951 } 2928 } 2952 } 2929 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 269, " " ) 2953 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 273, " " ) 2930 if templ_7745c5c3_Err != nil { 2954 if templ_7745c5c3_Err != nil { 2931 return templ_7745c5c3_Err 2955 return templ_7745c5c3_Err 2932 } 2956 } 2933 if p.HasDiff { 2957 if p.HasDiff { 2934 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 270, "<div class=\"diff-tools\" role=\"group\" aria-label=\"Diff view\"><span class=\"dim\">" ) 2958 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 274, "<div class=\"diff-tools\" role=\"group\" aria-label=\"Diff view\"><span class=\"dim\">" ) 2935 if templ_7745c5c3_Err != nil { 2959 if templ_7745c5c3_Err != nil { 2936 return templ_7745c5c3_Err 2960 return templ_7745c5c3_Err 2937 } 2961 } 2938 var templ_7745c5c3_Var145 string 2962 var templ_7745c5c3_Var145 string 2939 templ_7745c5c3_Var145, templ_7745c5c3_Err = templ.JoinStringErrs(plural(p.NFiles, "file" , "files" )) 2963 templ_7745c5c3_Var145, templ_7745c5c3_Err = templ.JoinStringErrs(plural(p.NFiles, "file" , "files" )) 2940 if templ_7745c5c3_Err != nil { 2964 if templ_7745c5c3_Err != nil { 2941 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 556, Col: 57} 2965 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 563, Col: 57} 2942 } 2966 } 2943 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var145)) 2967 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var145)) 2944 if templ_7745c5c3_Err != nil { 2968 if templ_7745c5c3_Err != nil { 2945 return templ_7745c5c3_Err 2969 return templ_7745c5c3_Err 2946 } 2970 } 2947 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 271, " · <span class=\"plus\">+" ) 2971 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 275, " · <span class=\"plus\">+" ) 2948 if templ_7745c5c3_Err != nil { 2972 if templ_7745c5c3_Err != nil { 2949 return templ_7745c5c3_Err 2973 return templ_7745c5c3_Err 2950 } 2974 } 2951 var templ_7745c5c3_Var146 string 2975 var templ_7745c5c3_Var146 string 2952 templ_7745c5c3_Var146, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(p.Adds)) 2976 templ_7745c5c3_Var146, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(p.Adds)) 2953 if templ_7745c5c3_Err != nil { 2977 if templ_7745c5c3_Err != nil { 2954 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 556, Col: 97} 2978 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 563, Col: 97} 2955 } 2979 } 2956 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var146)) 2980 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var146)) 2957 if templ_7745c5c3_Err != nil { 2981 if templ_7745c5c3_Err != nil { 2958 return templ_7745c5c3_Err 2982 return templ_7745c5c3_Err 2959 } 2983 } 2960 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 272, "</span> <span class=\"minus\">-" ) 2984 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 276, "</span> <span class=\"minus\">-" ) 2961 if templ_7745c5c3_Err != nil { 2985 if templ_7745c5c3_Err != nil { 2962 return templ_7745c5c3_Err 2986 return templ_7745c5c3_Err 2963 } 2987 } 2964 var templ_7745c5c3_Var147 string 2988 var templ_7745c5c3_Var147 string 2965 templ_7745c5c3_Var147, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(p.Dels)) 2989 templ_7745c5c3_Var147, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(p.Dels)) 2966 if templ_7745c5c3_Err != nil { 2990 if templ_7745c5c3_Err != nil { 2967 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 556, Col: 142} 2991 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 563, Col: 142} 2968 } 2992 } 2969 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var147)) 2993 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var147)) 2970 if templ_7745c5c3_Err != nil { 2994 if templ_7745c5c3_Err != nil { 2971 return templ_7745c5c3_Err 2995 return templ_7745c5c3_Err 2972 } 2996 } 2973 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 273, "</span></span> <span class=\"grow\"></span>" ) 2997 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 277, "</span></span> <span class=\"grow\"></span>" ) 2974 if templ_7745c5c3_Err != nil { 2998 if templ_7745c5c3_Err != nil { 2975 return templ_7745c5c3_Err 2999 return templ_7745c5c3_Err 2976 } 3000 } ⋯ 9 hidden lines@@ -2986,64 +3010,64 @@ func Compare(l Layout, p ComparePage) templ.Component { 2986 if templ_7745c5c3_Err != nil { 3010 if templ_7745c5c3_Err != nil { 2987 return templ_7745c5c3_Err 3011 return templ_7745c5c3_Err 2988 } 3012 } 2989 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 274, "</div>" ) 3013 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 278, "</div>" ) 2990 if templ_7745c5c3_Err != nil { 3014 if templ_7745c5c3_Err != nil { 2991 return templ_7745c5c3_Err 3015 return templ_7745c5c3_Err 2992 } 3016 } 2993 if p.Invisible { 3017 if p.Invisible { 2994 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 275, "<p class=\"notice\">this diff holds invisible characters (direction controls, zero-width characters). They are shown as <span class=\"inv\"><U+XXXX></span> markers, never applied.</p>" ) 3018 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 279, "<p class=\"notice\">this diff holds invisible characters (direction controls, zero-width characters). They are shown as <span class=\"inv\"><U+XXXX></span> markers, never applied.</p>" ) 2995 if templ_7745c5c3_Err != nil { 3019 if templ_7745c5c3_Err != nil { 2996 return templ_7745c5c3_Err 3020 return templ_7745c5c3_Err 2997 } 3021 } 2998 } 3022 } 2999 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 276, " <div id=\"diffs\"" ) 3023 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, " <div id=\"diffs\"" ) 3000 if templ_7745c5c3_Err != nil { 3024 if templ_7745c5c3_Err != nil { 3001 return templ_7745c5c3_Err 3025 return templ_7745c5c3_Err 3002 } 3026 } 3003 if p.Both { 3027 if p.Both { 3004 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 277, " data-diff=\"" ) 3028 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, " data-diff=\"" ) 3005 if templ_7745c5c3_Err != nil { 3029 if templ_7745c5c3_Err != nil { 3006 return templ_7745c5c3_Err 3030 return templ_7745c5c3_Err 3007 } 3031 } 3008 var templ_7745c5c3_Var148 string 3032 var templ_7745c5c3_Var148 string 3009 templ_7745c5c3_Var148, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.View) 3033 templ_7745c5c3_Var148, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.View) 3010 if templ_7745c5c3_Err != nil { 3034 if templ_7745c5c3_Err != nil { 3011 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 571, Col: 23} 3035 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 578, Col: 23} 3012 } 3036 } 3013 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var148) 3037 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var148) 3014 if templ_7745c5c3_Err != nil { 3038 if templ_7745c5c3_Err != nil { 3015 return templ_7745c5c3_Err 3039 return templ_7745c5c3_Err 3016 } 3040 } 3017 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 278, "\"" ) 3041 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, "\"" ) 3018 if templ_7745c5c3_Err != nil { 3042 if templ_7745c5c3_Err != nil { 3019 return templ_7745c5c3_Err 3043 return templ_7745c5c3_Err 3020 } 3044 } 3021 } else { 3045 } else { 3022 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 279, " data-view=\"" ) 3046 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 283, " data-view=\"" ) 3023 if templ_7745c5c3_Err != nil { 3047 if templ_7745c5c3_Err != nil { 3024 return templ_7745c5c3_Err 3048 return templ_7745c5c3_Err 3025 } 3049 } 3026 var templ_7745c5c3_Var149 string 3050 var templ_7745c5c3_Var149 string 3027 templ_7745c5c3_Var149, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.View) 3051 templ_7745c5c3_Var149, templ_7745c5c3_Err = templ.ResolveAttributeValue(p.View) 3028 if templ_7745c5c3_Err != nil { 3052 if templ_7745c5c3_Err != nil { 3029 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 573, Col: 23} 3053 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 580, Col: 23} 3030 } 3054 } 3031 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var149) 3055 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var149) 3032 if templ_7745c5c3_Err != nil { 3056 if templ_7745c5c3_Err != nil { 3033 return templ_7745c5c3_Err 3057 return templ_7745c5c3_Err 3034 } 3058 } 3035 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 280, "\"" ) 3059 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 284, "\"" ) 3036 if templ_7745c5c3_Err != nil { 3060 if templ_7745c5c3_Err != nil { 3037 return templ_7745c5c3_Err 3061 return templ_7745c5c3_Err 3038 } 3062 } 3039 } 3063 } 3040 if p.Both && !p.Pinned { 3064 if p.Both && !p.Pinned { 3041 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 281, " hx-live=\"this.dataset.diff = sessionStorage.getItem('diff') || this.dataset.diff\"" ) 3065 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 285, " hx-live=\"this.dataset.diff = sessionStorage.getItem('diff') || this.dataset.diff\"" ) 3042 if templ_7745c5c3_Err != nil { 3066 if templ_7745c5c3_Err != nil { 3043 return templ_7745c5c3_Err 3067 return templ_7745c5c3_Err 3044 } 3068 } 3045 } 3069 } 3046 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 282, ">" ) 3070 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 286, ">" ) 3047 if templ_7745c5c3_Err != nil { 3071 if templ_7745c5c3_Err != nil { 3048 return templ_7745c5c3_Err 3072 return templ_7745c5c3_Err 3049 } 3073 } ⋯ 29 hidden lines@@ -3089,77 +3113,77 @@ func compareRail(p ComparePage) templ.Component { 3089 templ_7745c5c3_Var150 = templ.NopComponent 3113 templ_7745c5c3_Var150 = templ.NopComponent 3090 } 3114 } 3091 ctx = templ.ClearChildren(ctx) 3115 ctx = templ.ClearChildren(ctx) 3092 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 284, "<section aria-labelledby=\"r-ahead\"><h2 id=\"r-ahead\">Commits <span class=\"count\">" ) 3116 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 288, "<section aria-labelledby=\"r-ahead\"><h2 id=\"r-ahead\">Commits <span class=\"count\">" ) 3093 if templ_7745c5c3_Err != nil { 3117 if templ_7745c5c3_Err != nil { 3094 return templ_7745c5c3_Err 3118 return templ_7745c5c3_Err 3095 } 3119 } 3096 var templ_7745c5c3_Var151 string 3120 var templ_7745c5c3_Var151 string 3097 templ_7745c5c3_Var151, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(len(p.Ahead))) 3121 templ_7745c5c3_Var151, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(len(p.Ahead))) 3098 if templ_7745c5c3_Err != nil { 3122 if templ_7745c5c3_Err != nil { 3099 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 589, Col: 67} 3123 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 596, Col: 67} 3100 } 3124 } 3101 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var151)) 3125 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var151)) 3102 if templ_7745c5c3_Err != nil { 3126 if templ_7745c5c3_Err != nil { 3103 return templ_7745c5c3_Err 3127 return templ_7745c5c3_Err 3104 } 3128 } 3105 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 285, "</span></h2><ul class=\"pcommits\">" ) 3129 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 289, "</span></h2><ul class=\"pcommits\">" ) 3106 if templ_7745c5c3_Err != nil { 3130 if templ_7745c5c3_Err != nil { 3107 return templ_7745c5c3_Err 3131 return templ_7745c5c3_Err 3108 } 3132 } 3109 for _, c := range p.Ahead { 3133 for _, c := range p.Ahead { 3110 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 286, "<li><a href=\"" ) 3134 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 290, "<li><a href=\"" ) 3111 if templ_7745c5c3_Err != nil { 3135 if templ_7745c5c3_Err != nil { 3112 return templ_7745c5c3_Err 3136 return templ_7745c5c3_Err 3113 } 3137 } 3114 var templ_7745c5c3_Var152 templ.SafeURL 3138 var templ_7745c5c3_Var152 templ.SafeURL 3115 templ_7745c5c3_Var152, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.CHref)) 3139 templ_7745c5c3_Var152, templ_7745c5c3_Err = templ.JoinURLErrs(templ.SafeURL(c.CHref)) 3116 if templ_7745c5c3_Err != nil { 3140 if templ_7745c5c3_Err != nil { 3117 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 593, Col: 37} 3141 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 600, Col: 37} 3118 } 3142 } 3119 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var152)) 3143 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var152)) 3120 if templ_7745c5c3_Err != nil { 3144 if templ_7745c5c3_Err != nil { 3121 return templ_7745c5c3_Err 3145 return templ_7745c5c3_Err 3122 } 3146 } 3123 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 287, "\">" ) 3147 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 291, "\">" ) 3124 if templ_7745c5c3_Err != nil { 3148 if templ_7745c5c3_Err != nil { 3125 return templ_7745c5c3_Err 3149 return templ_7745c5c3_Err 3126 } 3150 } 3127 var templ_7745c5c3_Var153 string 3151 var templ_7745c5c3_Var153 string 3128 templ_7745c5c3_Var153, templ_7745c5c3_Err = templ.JoinStringErrs(c.Short) 3152 templ_7745c5c3_Var153, templ_7745c5c3_Err = templ.JoinStringErrs(c.Short) 3129 if templ_7745c5c3_Err != nil { 3153 if templ_7745c5c3_Err != nil { 3130 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 593, Col: 49} 3154 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 600, Col: 49} 3131 } 3155 } 3132 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var153)) 3156 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var153)) 3133 if templ_7745c5c3_Err != nil { 3157 if templ_7745c5c3_Err != nil { 3134 return templ_7745c5c3_Err 3158 return templ_7745c5c3_Err 3135 } 3159 } 3136 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 288, "</a> <span class=\"s\">" ) 3160 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 292, "</a> <span class=\"s\">" ) 3137 if templ_7745c5c3_Err != nil { 3161 if templ_7745c5c3_Err != nil { 3138 return templ_7745c5c3_Err 3162 return templ_7745c5c3_Err 3139 } 3163 } 3140 var templ_7745c5c3_Var154 string 3164 var templ_7745c5c3_Var154 string 3141 templ_7745c5c3_Var154, templ_7745c5c3_Err = templ.JoinStringErrs(c.Subject) 3165 templ_7745c5c3_Var154, templ_7745c5c3_Err = templ.JoinStringErrs(c.Subject) 3142 if templ_7745c5c3_Err != nil { 3166 if templ_7745c5c3_Err != nil { 3143 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 594, Col: 32} 3167 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 601, Col: 32} 3144 } 3168 } 3145 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var154)) 3169 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var154)) 3146 if templ_7745c5c3_Err != nil { 3170 if templ_7745c5c3_Err != nil { 3147 return templ_7745c5c3_Err 3171 return templ_7745c5c3_Err 3148 } 3172 } 3149 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 289, "</span> <span class=\"mute\">" ) 3173 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 293, "</span> <span class=\"mute\">" ) 3150 if templ_7745c5c3_Err != nil { 3174 if templ_7745c5c3_Err != nil { 3151 return templ_7745c5c3_Err 3175 return templ_7745c5c3_Err 3152 } 3176 } 3153 var templ_7745c5c3_Var155 string 3177 var templ_7745c5c3_Var155 string 3154 templ_7745c5c3_Var155, templ_7745c5c3_Err = templ.JoinStringErrs(c.Author) 3178 templ_7745c5c3_Var155, templ_7745c5c3_Err = templ.JoinStringErrs(c.Author) 3155 if templ_7745c5c3_Err != nil { 3179 if templ_7745c5c3_Err != nil { 3156 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 596, Col: 16} 3180 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 603, Col: 16} 3157 } 3181 } 3158 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var155)) 3182 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var155)) 3159 if templ_7745c5c3_Err != nil { 3183 if templ_7745c5c3_Err != nil { 3160 return templ_7745c5c3_Err 3184 return templ_7745c5c3_Err 3161 } 3185 } 3162 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 290, " " ) 3186 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 294, " " ) 3163 if templ_7745c5c3_Err != nil { 3187 if templ_7745c5c3_Err != nil { 3164 return templ_7745c5c3_Err 3188 return templ_7745c5c3_Err 3165 } 3189 } ⋯ 1 hidden line@@ -3167,90 +3191,90 @@ func compareRail(p ComparePage) templ.Component { 3167 var templ_7745c5c3_Var156 string 3191 var templ_7745c5c3_Var156 string 3168 templ_7745c5c3_Var156, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 3192 templ_7745c5c3_Var156, templ_7745c5c3_Err = templ.JoinStringErrs(" · " ) 3169 if templ_7745c5c3_Err != nil { 3193 if templ_7745c5c3_Err != nil { 3170 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 598, Col: 15} 3194 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 605, Col: 15} 3171 } 3195 } 3172 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var156)) 3196 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var156)) 3173 if templ_7745c5c3_Err != nil { 3197 if templ_7745c5c3_Err != nil { 3174 return templ_7745c5c3_Err 3198 return templ_7745c5c3_Err 3175 } 3199 } 3176 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 291, "<time datetime=\"" ) 3200 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 295, "<time datetime=\"" ) 3177 if templ_7745c5c3_Err != nil { 3201 if templ_7745c5c3_Err != nil { 3178 return templ_7745c5c3_Err 3202 return templ_7745c5c3_Err 3179 } 3203 } 3180 var templ_7745c5c3_Var157 string 3204 var templ_7745c5c3_Var157 string 3181 templ_7745c5c3_Var157, templ_7745c5c3_Err = templ.ResolveAttributeValue(c.WhenAt) 3205 templ_7745c5c3_Var157, templ_7745c5c3_Err = templ.ResolveAttributeValue(c.WhenAt) 3182 if templ_7745c5c3_Err != nil { 3206 if templ_7745c5c3_Err != nil { 3183 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 598, Col: 42} 3207 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 605, Col: 42} 3184 } 3208 } 3185 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var157) 3209 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ_7745c5c3_Var157) 3186 if templ_7745c5c3_Err != nil { 3210 if templ_7745c5c3_Err != nil { 3187 return templ_7745c5c3_Err 3211 return templ_7745c5c3_Err 3188 } 3212 } 3189 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 292, "\">" ) 3213 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 296, "\">" ) 3190 if templ_7745c5c3_Err != nil { 3214 if templ_7745c5c3_Err != nil { 3191 return templ_7745c5c3_Err 3215 return templ_7745c5c3_Err 3192 } 3216 } 3193 var templ_7745c5c3_Var158 string 3217 var templ_7745c5c3_Var158 string 3194 templ_7745c5c3_Var158, templ_7745c5c3_Err = templ.JoinStringErrs(c.When) 3218 templ_7745c5c3_Var158, templ_7745c5c3_Err = templ.JoinStringErrs(c.When) 3195 if templ_7745c5c3_Err != nil { 3219 if templ_7745c5c3_Err != nil { 3196 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 598, Col: 53} 3220 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 605, Col: 53} 3197 } 3221 } 3198 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var158)) 3222 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var158)) 3199 if templ_7745c5c3_Err != nil { 3223 if templ_7745c5c3_Err != nil { 3200 return templ_7745c5c3_Err 3224 return templ_7745c5c3_Err 3201 } 3225 } 3202 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 293, "</time>" ) 3226 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 297, "</time>" ) 3203 if templ_7745c5c3_Err != nil { 3227 if templ_7745c5c3_Err != nil { 3204 return templ_7745c5c3_Err 3228 return templ_7745c5c3_Err 3205 } 3229 } 3206 } 3230 } 3207 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 294, "</span></li>" ) 3231 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 298, "</span></li>" ) 3208 if templ_7745c5c3_Err != nil { 3232 if templ_7745c5c3_Err != nil { 3209 return templ_7745c5c3_Err 3233 return templ_7745c5c3_Err 3210 } 3234 } 3211 } 3235 } 3212 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 295, "</ul>" ) 3236 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 299, "</ul>" ) 3213 if templ_7745c5c3_Err != nil { 3237 if templ_7745c5c3_Err != nil { 3214 return templ_7745c5c3_Err 3238 return templ_7745c5c3_Err 3215 } 3239 } 3216 if len(p.Ahead) == 0 { 3240 if len(p.Ahead) == 0 { 3217 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 296, "<p class=\"dim\">no commit ahead of " ) 3241 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 300, "<p class=\"dim\">no commit ahead of " ) 3218 if templ_7745c5c3_Err != nil { 3242 if templ_7745c5c3_Err != nil { 3219 return templ_7745c5c3_Err 3243 return templ_7745c5c3_Err 3220 } 3244 } 3221 var templ_7745c5c3_Var159 string 3245 var templ_7745c5c3_Var159 string 3222 templ_7745c5c3_Var159, templ_7745c5c3_Err = templ.JoinStringErrs(p.Target) 3246 templ_7745c5c3_Var159, templ_7745c5c3_Err = templ.JoinStringErrs(p.Target) 3223 if templ_7745c5c3_Err != nil { 3247 if templ_7745c5c3_Err != nil { 3224 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 605, Col: 47} 3248 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 612, Col: 47} 3225 } 3249 } 3226 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var159)) 3250 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var159)) 3227 if templ_7745c5c3_Err != nil { 3251 if templ_7745c5c3_Err != nil { 3228 return templ_7745c5c3_Err 3252 return templ_7745c5c3_Err 3229 } 3253 } 3230 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 297, ".</p>" ) 3254 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 301, ".</p>" ) 3231 if templ_7745c5c3_Err != nil { 3255 if templ_7745c5c3_Err != nil { 3232 return templ_7745c5c3_Err 3256 return templ_7745c5c3_Err 3233 } 3257 } 3234 } 3258 } 3235 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 298, "</section>" ) 3259 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 302, "</section>" ) 3236 if templ_7745c5c3_Err != nil { 3260 if templ_7745c5c3_Err != nil { 3237 return templ_7745c5c3_Err 3261 return templ_7745c5c3_Err 3238 } 3262 } 3239 if p.HasDiff { 3263 if p.HasDiff { 3240 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 299, "<section aria-labelledby=\"r-files\"><h2 id=\"r-files\">Files <span class=\"count\">" ) 3264 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 303, "<section aria-labelledby=\"r-files\"><h2 id=\"r-files\">Files <span class=\"count\">" ) 3241 if templ_7745c5c3_Err != nil { 3265 if templ_7745c5c3_Err != nil { 3242 return templ_7745c5c3_Err 3266 return templ_7745c5c3_Err 3243 } 3267 } 3244 var templ_7745c5c3_Var160 string 3268 var templ_7745c5c3_Var160 string 3245 templ_7745c5c3_Var160, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(len(p.Files))) 3269 templ_7745c5c3_Var160, templ_7745c5c3_Err = templ.JoinStringErrs(itoa(len(p.Files))) 3246 if templ_7745c5c3_Err != nil { 3270 if templ_7745c5c3_Err != nil { 3247 - return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 610, Col: 66} 3271 + return templ.Error{Err: templ_7745c5c3_Err, FileName: `internal/adapters/web/mr.templ` , Line: 617, Col: 66} 3248 } 3272 } 3249 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var160)) 3273 _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var160)) 3250 if templ_7745c5c3_Err != nil { 3274 if templ_7745c5c3_Err != nil { 3251 return templ_7745c5c3_Err 3275 return templ_7745c5c3_Err 3252 } 3276 } 3253 - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 300, "</span></h2>" ) 3277 + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 304, "</span></h2>" ) 3254 if templ_7745c5c3_Err != nil { 3278 if templ_7745c5c3_Err != nil { 3255 return templ_7745c5c3_Err 3279 return templ_7745c5c3_Err 3256 } 3280 }