summaryrefslogtreecommitdiffstats
path: root/models/issues
diff options
context:
space:
mode:
authorJakobDev <jakobdev@gmx.de>2024-12-18 20:26:39 +0100
committerJakobDev <jakobdev@gmx.de>2024-12-18 20:26:39 +0100
commit25bfd2983ef349163b8961cbd6d369fec5841660 (patch)
tree2ab6edc8d864b77f341f4da0fdd09792b56ad950 /models/issues
parentfeat: Add summary card for repos and releases (diff)
downloadforgejo-25bfd2983ef349163b8961cbd6d369fec5841660.tar.xz
forgejo-25bfd2983ef349163b8961cbd6d369fec5841660.zip
Update
Diffstat (limited to 'models/issues')
-rw-r--r--models/issues/issue.go14
1 files changed, 0 insertions, 14 deletions
diff --git a/models/issues/issue.go b/models/issues/issue.go
index 17391ffe6c..fbbc4828a2 100644
--- a/models/issues/issue.go
+++ b/models/issues/issue.go
@@ -416,20 +416,6 @@ func (issue *Issue) SummaryCardURL() string {
return fmt.Sprintf("%s/summary-card", issue.HTMLURL())
}
-func (issue *Issue) SummaryCardSize() (int, int) {
- return 1200, 600
-}
-
-func (issue *Issue) SummaryCardWidth() int {
- width, _ := issue.SummaryCardSize()
- return width
-}
-
-func (issue *Issue) SummaryCardHeight() int {
- _, height := issue.SummaryCardSize()
- return height
-}
-
// Link returns the issue's relative URL.
func (issue *Issue) Link() string {
var path string