[PR #1820] [MERGED] Fix invalid reference in feeds template #16065

Closed
opened 2025-11-02 12:01:30 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/1820
Author: @ethantkoenig
Created: 5/26/2017
Status: Merged
Merged: 5/27/2017
Merged by: @lunny

Base: masterHead: fix_template


📝 Commits (3)

  • 2f7289e Fix invalid reference in feeds template
  • 3cc69c2 Comment for GetActAvatar
  • f8a7065 Add integration test

📊 Changes

3 files changed (+16 additions, -1 deletions)

View changed files

📝 integrations/issue_test.go (+9 -0)
📝 models/action.go (+6 -0)
📝 templates/user/dashboard/feeds.tmpl (+1 -1)

📄 Description

Fixes the following error on the dashboard page: (oversight on my part from #1779)

template: user/dashboard/feeds:4:39: executing "user/dashboard/feeds" at <.ActAvatar>: can't evaluate field ActAvatar in type *models.Action

see https://github.com/go-gitea/gitea/pull/1812#issuecomment-304227078


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-gitea/gitea/pull/1820 **Author:** [@ethantkoenig](https://github.com/ethantkoenig) **Created:** 5/26/2017 **Status:** ✅ Merged **Merged:** 5/27/2017 **Merged by:** [@lunny](https://github.com/lunny) **Base:** `master` ← **Head:** `fix_template` --- ### 📝 Commits (3) - [`2f7289e`](https://github.com/go-gitea/gitea/commit/2f7289e5709c1c2757e4983aa8950d1df3ee3720) Fix invalid reference in feeds template - [`3cc69c2`](https://github.com/go-gitea/gitea/commit/3cc69c22719e06fb255d4cefedc4d825e10d0730) Comment for GetActAvatar - [`f8a7065`](https://github.com/go-gitea/gitea/commit/f8a706584a2acf430e022b2e3210f24077cec710) Add integration test ### 📊 Changes **3 files changed** (+16 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `integrations/issue_test.go` (+9 -0) 📝 `models/action.go` (+6 -0) 📝 `templates/user/dashboard/feeds.tmpl` (+1 -1) </details> ### 📄 Description Fixes the following error on the dashboard page: (oversight on my part from #1779) ``` template: user/dashboard/feeds:4:39: executing "user/dashboard/feeds" at <.ActAvatar>: can't evaluate field ActAvatar in type *models.Action ``` see https://github.com/go-gitea/gitea/pull/1812#issuecomment-304227078 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-02 12:01:30 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#16065