-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notification target contract add tags #17248
base: main
Are you sure you want to change the base?
Conversation
Adding notice time and end time for contract notifications. Before, there was just one "time" tag and no possibility to print the end time on notice and vice-versa.
(correct spaces and remove tabs)
spaces removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests are failing.
Hello @cedric-anne sorry that I left this here for so long time, but it is still actual for me, and surely also for others that need to write complete notifications for contracts. Would it be possiblle to re-run the checks? There are no more details visible on what has failed in the two checks that were not successful. |
You'd better rebase your branch on an up-to-date 10.0/bugfixes; this will trigger tests. |
Sorry @trasher now I updated to the main branch and all 2000 commits are shown here. |
I've updated target branch on the PR. |
For contract notifications, there is actually only one Tag contract.time that holds either the notice time or the end time.
However it is also sometimes needed to write both dates. This modification adds the contract.noticetime and contract.endtime Tags. The labels used are the ones already in use and thus translated. The tags are shown also on the tags helper page when editing the notification template.