-
Notifications
You must be signed in to change notification settings - Fork 8
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
CON-3951 - Revamped legal agreements page #2211
CON-3951 - Revamped legal agreements page #2211
Conversation
@item.Template.PublishedInfo | ||
</a> | ||
</li> | ||
@Html.Partial("_AcceptedAgreement", agreement, new ViewDataDictionary{{"Inset", agreement.Template.InsetText(Model.Data) } }) |
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.
Is it worth using some sort of constant rather than hardcoding "Inset"
@@ -292,6 +292,8 @@ public async Task<ActionResult> WhenDoYouWantToView(int? choice, string agreemen | |||
public async Task<ActionResult> ViewAllAgreements(string hashedAccountId, string accountLegalEntityHashedId) | |||
{ | |||
var model = await _orchestrator.GetOrganisationAgreements(accountLegalEntityHashedId); | |||
ViewBag.AgreementId = accountLegalEntityHashedId; |
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.
would it be better to have the "AgreementId" on the model rather than using viewbag?
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.
a couple of minor comments
No description provided.