Project

General

Profile

Actions

Refactoring #36

closed

Add a legal note model acting as API

Added by liaham over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10/31/2020
Due date:
% Done:

100%

Estimated time:
2.00 h
Compatible Redmine Version:

Description

The accesibility of legal note content should be stablilised by using an API located in app/models.


Context

Currently, the plugin uses the plugin settings interface in order to store and display the text of a legal note. As soon as some more attributes will be necessary the controller and views needs to be changed too. Moreover, fetching attributes will become testable.


Benefit

With an API for accessing the current attributes, there are no further changes required when the functionalities will grow.

Actions

Also available in: Atom PDF