Use conditions in views rewrite I have a view that shows an overview of "experiences".
The problem I am having is they switch HTML on every row.

so the first will be:

Image text

then the second will be:

Text Image

I tried using conditionals in the rewrite result. 
But they seem to not work as shown below:



This outputs:



Is there a fix or workaround for this?
The following answer is from Drupal 7 post, long time ago but I guess the methodology is still the same.

Basically in your views template you can specify that logic.

https://www.drupal.org/node/1932102#comment-7182640

if (row is even)
  // display order 1
else {
  // display order 2
}


Update: There is port of the views conditional module available on github.

https://github.com/anandtoshniwal93/views_conditional/blob/master/README.md
You can reuse it in your view like that....

Views Conditional field (if row is even)

  print rewrite field 1 (which is the first combination order)

Viws Conditional field (if row is odd)

  print rewrite field 2 (which is the second combination order)