Project

General

Profile

2 little questions

Added by andrea rossi about 14 years ago

Hi guys,

I have two questions about last version of Redmine:

1. how can I set the issues attributes (when a new issues is created and sent to the involved players, I would like to take out the attribute "Target Version" or add all the attributes such as "Estimated time" etc.) in an email notification?

2. how can I reset the number issues created?

Thanks.

A.


Replies (5)

RE: 2 little questions - Added by Felix Schäfer about 14 years ago

  1. No easy way I'd know of, although I could point you to the correct view if you are proficient in rails,
  2. Reset your whole database, which will incidently erase everything else you have in there.

RE: 2 little questions - Added by andrea rossi about 14 years ago

Thanks Felix.

Could you tell anyway where is the correct view? Is it in mail_handler.rb?

RE: 2 little questions - Added by Felix Schäfer about 14 years ago

Try source:trunk/app/views/mailer/_issue_text_html.rhtml (or plain.rhtml if using plain text mails), ou might need to restart your app for the change to take effect.

RE: 2 little questions - Added by andrea rossi about 14 years ago

I got it and quite easy to modify.

Thank you again.

RE: 2 little questions - Added by Felix Schäfer about 14 years ago

You're welcome.

If you want to make updating redmine a little easier, you could also create a plugin for that. There is a tutorial somewhere in the wiki, and you would just need to create the plugin, put the adequate information in init.rb (Author, version, whatever, so you could also just keep the default), and copy your modified view into the same folder structure in the plugin, it will then take precedence over the stock one. That way, you wouldn't need to patch the core.

    (1-5/5)