Skip to content

Commit

Permalink
documents: update the publication statement text
Browse files Browse the repository at this point in the history
* Closes #1926.
* Adds the `date` part that is missing to the creation of the publication
  statement text (provision activity).

Co-Authored-by: Peter Weber <peter.weber@rero.ch>
  • Loading branch information
rerowep and rerowep committed May 19, 2021
1 parent 3a71c92 commit efca4ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions rero_ils/modules/documents/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.

"""Blueprint used for loading templates."""
"""Documents utils."""

from __future__ import absolute_import, print_function

Expand Down Expand Up @@ -96,7 +96,8 @@ def publication_statement_text(provision_activity):
"""Create publication statement from place, agent and date values."""
punctuation = {
'bf:Place': ' ; ',
'bf:Agent': ', '
'bf:Agent': ', ',
'Date': ', '
}

statement_with_language = {'default': ''}
Expand Down

0 comments on commit efca4ad

Please sign in to comment.