OpenDataServices / org-ids

Front end application for http://org-id.guide
http://org-id.guide
Other
17 stars 9 forks source link

Use the Example Identifiers #185

Closed BobHarper1 closed 6 years ago

BobHarper1 commented 6 years ago

We ask contributors to submit 3-5 example identifiers to the list (sometimes many more are present)

These aren't used in the interface at present. This adds them to the sidebar (where the generic "example" is) so that users can get a good idea of what their org-ids should look like.

The loop is limited to at most 3 examples.

BobHarper1 commented 6 years ago

Ref https://github.com/org-id/register/issues/75

Bjwebb commented 6 years ago

This is now deployed to the dev site: http://dev.org-id.guide/

BobHarper1 commented 6 years ago

Oh dear, I must have tested with an list where the example ids were in an array, somehow, so this is splitting letters on most lists http://dev.org-id.guide/list/GB-COH.

As this is a string item in the schema, these need to be split by commas. I've added a custom filter to handle it.