[PR #3260] [MERGED] Fix Delete repository message #16847

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

📋 Pull Request Information

Original PR: https://github.com/go-gitea/gitea/pull/3260
Author: @muhfaris
Created: 12/25/2017
Status: Merged
Merged: 1/15/2018
Merged by: @lafriks

Base: masterHead: translation/delete-repo-message


📝 Commits (10+)

  • 4f926a0 add tag repo-name
  • 33db53a Add repo name in content
  • 5f845ee Merge branch 'master' of github.com:go-gitea/gitea
  • c15fbf5 Ajax to get name repo
  • 8b37756 Routing GetRepoName - receive process from ajax
  • 456326d Replace message with paragraph tags
  • 8e32a8d Add the repository name to class content
  • 26d867f Remove route GetRepoName
  • f62cb1c add tag repo-name
  • 0269280 change comment repository name

📊 Changes

2 files changed (+6 additions, -3 deletions)

View changed files

📝 public/js/index.js (+4 -1)
📝 templates/admin/repo/list.tmpl (+2 -2)

📄 Description

Fix issue #3201.
Get name of repository in message before delete repository

no. %s should be replaced but in fact didn't

  • Create new function to get repo name

  • Create Routing repo by id

  • Ajax - function takes the repo name

  • Change message from newline tags (<br>) with paragraph tags (<p>)

  • Add tag data-repo-name

  • Add repository name to the message delete repository

scrot_2017-12-25--1514165487_764x361


🔄 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/3260 **Author:** [@muhfaris](https://github.com/muhfaris) **Created:** 12/25/2017 **Status:** ✅ Merged **Merged:** 1/15/2018 **Merged by:** [@lafriks](https://github.com/lafriks) **Base:** `master` ← **Head:** `translation/delete-repo-message` --- ### 📝 Commits (10+) - [`4f926a0`](https://github.com/go-gitea/gitea/commit/4f926a09e0feccaf41ec65183b2e12e9bb87fe29) add tag repo-name - [`33db53a`](https://github.com/go-gitea/gitea/commit/33db53abebc915a2aacc5c5e0e2b45591f85d5d9) Add repo name in content - [`5f845ee`](https://github.com/go-gitea/gitea/commit/5f845ee5a2a7c781b640d38c9c62a445142b96d8) Merge branch 'master' of github.com:go-gitea/gitea - [`c15fbf5`](https://github.com/go-gitea/gitea/commit/c15fbf5763166714af85f75108d890a6dac3fd17) Ajax to get name repo - [`8b37756`](https://github.com/go-gitea/gitea/commit/8b37756ae60ab2805db505aff4d1c84402d46f65) Routing GetRepoName - receive process from ajax - [`456326d`](https://github.com/go-gitea/gitea/commit/456326d2cad634f7d03a75aabd72f67737383ce9) Replace message with paragraph tags - [`8e32a8d`](https://github.com/go-gitea/gitea/commit/8e32a8dd23d22687ca87b30cf398670919113ecc) Add the repository name to class content - [`26d867f`](https://github.com/go-gitea/gitea/commit/26d867f60c0177b5c2b2da1b90413ad29aa5eaa8) Remove route GetRepoName - [`f62cb1c`](https://github.com/go-gitea/gitea/commit/f62cb1c3a0136c0beea71f676bde2fa6037362b1) add tag repo-name - [`0269280`](https://github.com/go-gitea/gitea/commit/026928095e093a7d3875c5dd688ec68c3b13e5e6) change comment repository name ### 📊 Changes **2 files changed** (+6 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `public/js/index.js` (+4 -1) 📝 `templates/admin/repo/list.tmpl` (+2 -2) </details> ### 📄 Description Fix issue [#3201](https://github.com/go-gitea/gitea/issues/3201). Get name of repository in message before delete repository > no. <strong>%s</strong> should be replaced but in fact didn't - ~~Create new function to get repo name~~ - ~~Create Routing repo by id~~ - ~~Ajax - function takes the repo name~~ - ~~Change message from newline tags `(<br>)` with paragraph tags `(<p>)`~~ - [x] Add tag `data-repo-name` - [x] Add repository name to the message delete repository ![scrot_2017-12-25--1514165487_764x361](https://user-images.githubusercontent.com/16787866/34330904-718959c0-e954-11e7-9745-6725669b8856.png) --- <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:20:29 -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#16847