Refactor #22374
closed
Deduplicate the import logic
Added by Ondřej Pražák almost 7 years ago.
Updated over 6 years ago.
Description
Each template class has `import!` method implementation that handles how a specific template is imported. The method also takes care of message generation which are propagated to let user know whether a particular template was successfully imported or not. This leads to unnecessary duplication of code.
- Assignee set to Marek Hulán
- Pull request https://github.com/theforeman/foreman_templates/pull/77 added
- Status changed from New to Ready For Testing
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Pull request https://github.com/theforeman/foreman_templates/pull/83 added
- Translation missing: en.field_release set to 264
- Pull request https://github.com/theforeman/foreman_templates/pull/84 added
- Pull request https://github.com/theforeman/foreman_templates/pull/87 added
Also available in: Atom
PDF