-
Notifications
You must be signed in to change notification settings - Fork 9
Link to original plan moved to dialog sidebar #1295
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
base: main
Are you sure you want to change the base?
Conversation
…to streamline original URL handling
Openstad Headless
|
||||||||||||||||||||||||||||
| Project |
Openstad Headless
|
| Branch Review |
begroot-ui-tweaks-upstream
|
| Run status |
|
| Run duration | 21m 51s |
| Commit |
|
| Committer | oscarbakker |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
51
|
| View all changes introduced in this branch ↗︎ | |
Openstad Headless
|
||||||||||||||||||||||||||||
| Project |
Openstad Headless
|
| Branch Review |
begroot-ui-tweaks-upstream
|
| Run status |
|
| Run duration | 21m 35s |
| Commit |
|
| Committer | Oscar |
| View all properties for this run ↗︎ | |
| Test results | |
|---|---|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
0
|
|
|
51
|
| View all changes introduced in this branch ↗︎ | |
| {originalUrl ? ( | ||
| <> | ||
| <Paragraph className="strong"> | ||
| Dit een vervolg op het volgende plan: | ||
| <Link target="_blank" href={originalUrl}> | ||
| {originalUrl} | ||
| </Link> | ||
| </Paragraph> | ||
|
|
||
| </> | ||
| ) : null} |
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.
Can you make this into an option with backwards compatibility?
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.
added options, let me know it we're on the same line
| { | ||
| originalUrl ? ( | ||
| <> | ||
| <Paragraph className="strong"> | ||
| Dit een vervolg op plan: | ||
| <Link target="_blank" href={originalUrl}> | ||
| {originalUrl} | ||
| </Link> | ||
| </Paragraph> | ||
| </> | ||
| ) : null} |
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.
Can you make this into an option with backwards compatibility?
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.
idem
| )} | ||
| <Heading level={2} appearance="utrecht-heading-4" dangerouslySetInnerHTML={{__html: resource.title}}/> | ||
| <Paragraph dangerouslySetInnerHTML={{__html: elipsizeHTML(resource.summary, 100)}}/> | ||
| <Paragraph dangerouslySetInnerHTML={{__html: elipsizeHTML(resource.description, 200)}}/> |
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.
This should be an option with backwards compatibility in mind.
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.
idem
De originele pr, ik weet even niet of dit voor amsterdam specifiek is gemaakt.