<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chouette-core/lib/af83/decorator, branch master</title>
<subtitle>Chouette manage transport static data</subtitle>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/'/>
<entry>
<title>Refs #6426; Disable "Create opposite route" action instead of hiding it</title>
<updated>2018-04-11T06:28:47+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-04-06T12:46:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=03b4010981f5d47fbd8dd468bbe5fc320fd7a9e4'/>
<id>03b4010981f5d47fbd8dd468bbe5fc320fd7a9e4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #5669 @2h; Fix Specs</title>
<updated>2018-02-09T09:22:01+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-02-08T12:48:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=708c2fbe2f579426972a45f9a716d844a8e825ae'/>
<id>708c2fbe2f579426972a45f9a716d844a8e825ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #5683 @2H; Fix specs and refactor action_links</title>
<updated>2018-01-31T10:39:39+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-01-31T10:39:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=fe7915ffac359db41c7737a3847f31a728f502e6'/>
<id>fe7915ffac359db41c7737a3847f31a728f502e6</id>
<content type='text'>
Note: Did not fix the missing workgroup in the calendar mailer
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note: Did not fix the missing workgroup in the calendar mailer
</pre>
</div>
</content>
</entry>
<entry>
<title>AF83::Decorator::Link: Add `data-method` to HTML options</title>
<updated>2018-01-25T16:18:02+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-01-25T11:05:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=e926c05033bef396b69fca05db75847707bbf6f0'/>
<id>e926c05033bef396b69fca05db75847707bbf6f0</id>
<content type='text'>
Previously, we weren't correctly adding the HTTP method to the links in
the header. This is because it's called `link_method` in the class. Put
this value in `method`/`data-method` when converting the link to HTML so
that the links work properly.

Discovered this when deactivating and activating stop areas on
http://stif-boiv.dev:3000/stop_area_referentials/1/stop_areas/139429 .

Refs #5586
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, we weren't correctly adding the HTTP method to the links in
the header. This is because it's called `link_method` in the class. Put
this value in `method`/`data-method` when converting the link to HTML so
that the links work properly.

Discovered this when deactivating and activating stop areas on
http://stif-boiv.dev:3000/stop_area_referentials/1/stop_areas/139429 .

Refs #5586
</pre>
</div>
</content>
</entry>
<entry>
<title>AF83::Decorator::Link: Delete `#default_class`</title>
<updated>2018-01-25T16:18:02+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-01-25T10:57:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=a636969d6e588f0fb7d155bbc22582f742da8e48'/>
<id>a636969d6e588f0fb7d155bbc22582f742da8e48</id>
<content type='text'>
This method was overriding classes that were added by `#add_class` in
addition to those added by `#class`. Obviously, the argument to
`#add_class` should be appended to the default.

That seemed like a pain to do, so instead I'm getting rid of the concept
of a default class. Instead, we're going to force all links to use the
template-defined styles for now. That goes in line with Luc's desire to
be more consistent in the links, as he stated yesterday.

Refs #5586
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This method was overriding classes that were added by `#add_class` in
addition to those added by `#class`. Obviously, the argument to
`#add_class` should be appended to the default.

That seemed like a pain to do, so instead I'm getting rid of the concept
of a default class. Instead, we're going to force all links to use the
template-defined styles for now. That goes in line with Luc's desire to
be more consistent in the links, as he stated yesterday.

Refs #5586
</pre>
</div>
</content>
</entry>
<entry>
<title>AF83::Decorator::Link: Change #class? to #default_class</title>
<updated>2018-01-25T16:18:01+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-01-23T13:45:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=4e034f42107a2016db3a032d3c0cd1a5f8e43635'/>
<id>4e034f42107a2016db3a032d3c0cd1a5f8e43635</id>
<content type='text'>
Instead of checking for an existing class and then setting the class,
provide a method to set a default class when one hasn't been defined.

This does effectively the same thing but moves the condition inside the
method.

Thanks Johan for the suggestion!

Refs #5586
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of checking for an existing class and then setting the class,
provide a method to set a default class when one hasn't been defined.

This does effectively the same thing but moves the condition inside the
method.

Thanks Johan for the suggestion!

Refs #5586
</pre>
</div>
</content>
</entry>
<entry>
<title>Imports#index: Move 'New import' button to action links</title>
<updated>2018-01-25T16:18:01+00:00</updated>
<author>
<name>Teddy Wing</name>
</author>
<published>2018-01-23T10:42:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=759699cec33a06b931c50f4473460fb79290e356'/>
<id>759699cec33a06b931c50f4473460fb79290e356</id>
<content type='text'>
Begin the process of converting the `ImportDecorator` to the new action
links interface.

For now, only the "New import" button on the top right of the index page
is converted. The rest of the links are commented out for now and will
be treated in a subsequent commit.

Add a new `#class?` method to `AF83::Decorator::Link` that tells callers
whether a CSS class has been defined on the link. This allows us to
determine whether we should force a class or use the one provided in
`_page_header.html.slim`.

We need a way to specify the class of the link in the header because the
"New import" button is supposed to be blue (`.btn-primary`), but the
default for primary action links is white.

Refs #5586
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Begin the process of converting the `ImportDecorator` to the new action
links interface.

For now, only the "New import" button on the top right of the index page
is converted. The rest of the links are commented out for now and will
be treated in a subsequent commit.

Add a new `#class?` method to `AF83::Decorator::Link` that tells callers
whether a CSS class has been defined on the link. This allows us to
determine whether we should force a class or use the one provided in
`_page_header.html.slim`.

We need a way to specify the class of the link in the header because the
"New import" button is supposed to be blue (`.btn-primary`), but the
default for primary action links is white.

Refs #5586
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #5586; CR #2</title>
<updated>2018-01-25T16:18:01+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-01-22T10:39:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=9f4584ef7427575fce4b8294b79f2368b130d8b6'/>
<id>9f4584ef7427575fce4b8294b79f2368b130d8b6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs #5586 @2h; Fix specs</title>
<updated>2018-01-25T16:18:01+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-01-22T08:54:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=ff5d96b530a41669c394b7b0dc138e29da48e97d'/>
<id>ff5d96b530a41669c394b7b0dc138e29da48e97d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refs 5586; CR #1</title>
<updated>2018-01-25T16:18:00+00:00</updated>
<author>
<name>Zog</name>
</author>
<published>2018-01-21T10:59:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.teddywing.com/fork/chouette-core/commit/?id=e96174ac9c12c89b701307c50e7e1a2b09190316'/>
<id>e96174ac9c12c89b701307c50e7e1a2b09190316</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
