Skip to content
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

changed date published to time ago in words, with full date as mouseover (#145) #164

Merged
merged 2 commits into from
Nov 23, 2017

Conversation

alexs333
Copy link
Contributor

No description provided.

@bethesque
Copy link
Member

bethesque commented Nov 21, 2017

One extra requirement - could you put the original date text into a mouseover? Just the generic HTML one will be fine.

Oh, ignore this, I just realised you did already. Thanks!

<span class='name' title='#{published_date}'>Date published:</span>
<span class='value' title='#{published_date}'>
#{PactBroker::DateHelper.distance_of_time_in_words(@pact.created_at.to_time, DateTime.now)} ago
</span>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you refactor PactBroker::DateHelper.distance_of_time_in_words(@pact.created_at.to_time, DateTime.now) into its own method like the other lines please.

@bethesque bethesque merged commit b28f9c3 into pact-foundation:master Nov 23, 2017
@bethesque
Copy link
Member

Thanks @alexs333!

YOU54F pushed a commit to YOU54F/pact_broker that referenced this pull request Jul 31, 2024
)

* feat: add `dependsOn` capability for workflow level

* chore: typo fix

* chore: grammer fix
YOU54F pushed a commit to YOU54F/pact_broker that referenced this pull request Jul 31, 2024
* feat: adding support for share success and failure actions

* Merging latest 'main' changes in to Action Object Extensions branch (pact-foundation#170)

* chore: suggest multilevel parameters (pact-foundation#155)

* chore: suggest multilevel parameters

* Update versions/1.0.0.md

Co-authored-by: Frank Kilcommins <fkilcommins@gmail.com>

* Update examples/1.0.0/ExtendedParametersExample.workflow.yaml

Co-authored-by: Frank Kilcommins <fkilcommins@gmail.com>

* Update versions/1.0.0.md

Co-authored-by: Frank Kilcommins <fkilcommins@gmail.com>

---------

Co-authored-by: Frank Kilcommins <fkilcommins@gmail.com>

* Remove references to WHATWG to avoid confusion (pact-foundation#145)

* Remove references to WHATWG to avoid confusion

* Correct relative reference wording

* Section 4.2 not 4.1!

* Simplify URI wording

* Adjust Step Parameters desc to cater for Workflow parameters addition (pact-foundation#169)

* feat: add `dependsOn` capability for workflow level (pact-foundation#164)

* feat: add `dependsOn` capability for workflow level

* chore: typo fix

* chore: grammer fix

* feat: Add Request Body Object (pact-foundation#162)

* feat: Add Request Body Object

* chore: fix typos in examples

* Clarity on referencing Components Parameters (pact-foundation#149)

* Clarity on referencing Components Parameters

* Remove Reference Object to avoid clash with JSON Schema keyword. Replace with expression based referencing

* chore: keep fixed field link names consistent

* chore: Name component parameters as type Reusable Parameter Object

* chore: adjust Workflow level parameters to use Reusable Parameter Objects

---------

Co-authored-by: Dmytro Anansky <dmytro@redocly.com>
Co-authored-by: Nick Denny <nick@apimetrics.com>

* Add Reusable Object and referencing ability

* chore: fix yaml example indentation

* chore: fix JSON examples

* chore: fix typo in `workflowStepActions`

---------

Co-authored-by: Dmytro Anansky <dmytro@redocly.com>
Co-authored-by: Nick Denny <nick@apimetrics.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants