mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 22:43:33 +08:00
DEV: Avoid Discourse specific code in fixtures.
This commit is contained in:
@ -311,7 +311,7 @@ export default {
|
|||||||
action_type: 2,
|
action_type: 2,
|
||||||
created_at: "2014-01-15T16:53:49Z",
|
created_at: "2014-01-15T16:53:49Z",
|
||||||
excerpt:
|
excerpt:
|
||||||
"A good fix would be to have the ERB template do an if statement. We'd happily accept a PR that did this if you feel up to it: \n\n <% if SiteSetting.logo_url.present? %>\n display logo html\n<% else %>\n display title html\n<% end %>",
|
"A good fix would be to have the ERB template do an if statement.",
|
||||||
avatar_template:
|
avatar_template:
|
||||||
"//www.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9.png?s={size}&r=pg&d=identicon",
|
"//www.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9.png?s={size}&r=pg&d=identicon",
|
||||||
acting_avatar_template:
|
acting_avatar_template:
|
||||||
@ -341,7 +341,7 @@ export default {
|
|||||||
action_type: 5,
|
action_type: 5,
|
||||||
created_at: "2014-01-15T15:21:37Z",
|
created_at: "2014-01-15T15:21:37Z",
|
||||||
excerpt:
|
excerpt:
|
||||||
"A good fix would be to have the ERB template do an if statement. We'd happily accept a PR that did this if you feel up to it: \n\n <% if SiteSetting.logo_url.present? %>\n display logo html\n<% else %>\n display title html\n<% end %>",
|
"A good fix would be to have the ERB template do an if statement.",
|
||||||
avatar_template:
|
avatar_template:
|
||||||
"//www.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9.png?s={size}&r=pg&d=identicon",
|
"//www.gravatar.com/avatar/c6e17f2ae2a215e87ff9e878a4e63cd9.png?s={size}&r=pg&d=identicon",
|
||||||
acting_avatar_template:
|
acting_avatar_template:
|
||||||
|
Reference in New Issue
Block a user