diff options
Diffstat (limited to '')
-rw-r--r-- | lib/lsg_web/views/alcoolog_view.ex | 4 | ||||
-rw-r--r-- | lib/lsg_web/views/error_helpers.ex | 6 | ||||
-rw-r--r-- | lib/lsg_web/views/error_view.ex | 4 | ||||
-rw-r--r-- | lib/lsg_web/views/irc_view.ex | 4 | ||||
-rw-r--r-- | lib/lsg_web/views/layout_view.ex | 8 | ||||
-rw-r--r-- | lib/lsg_web/views/network_view.ex | 4 | ||||
-rw-r--r-- | lib/lsg_web/views/open_id_view.ex | 4 | ||||
-rw-r--r-- | lib/lsg_web/views/page_view.ex | 4 |
8 files changed, 19 insertions, 19 deletions
diff --git a/lib/lsg_web/views/alcoolog_view.ex b/lib/lsg_web/views/alcoolog_view.ex index ed3c9b4..ad52472 100644 --- a/lib/lsg_web/views/alcoolog_view.ex +++ b/lib/lsg_web/views/alcoolog_view.ex @@ -1,5 +1,5 @@ -defmodule LSGWeb.AlcoologView do - use LSGWeb, :view +defmodule NolaWeb.AlcoologView do + use NolaWeb, :view require Integer end diff --git a/lib/lsg_web/views/error_helpers.ex b/lib/lsg_web/views/error_helpers.ex index 47906f2..25214bd 100644 --- a/lib/lsg_web/views/error_helpers.ex +++ b/lib/lsg_web/views/error_helpers.ex @@ -1,4 +1,4 @@ -defmodule LSGWeb.ErrorHelpers do +defmodule NolaWeb.ErrorHelpers do @moduledoc """ Conveniences for translating and building error messages. """ @@ -32,9 +32,9 @@ defmodule LSGWeb.ErrorHelpers do # dgettext "errors", "is invalid" # if count = opts[:count] do - Gettext.dngettext(LSGWeb.Gettext, "errors", msg, msg, count, opts) + Gettext.dngettext(NolaWeb.Gettext, "errors", msg, msg, count, opts) else - Gettext.dgettext(LSGWeb.Gettext, "errors", msg, opts) + Gettext.dgettext(NolaWeb.Gettext, "errors", msg, opts) end end end diff --git a/lib/lsg_web/views/error_view.ex b/lib/lsg_web/views/error_view.ex index 1a7a92d..5cad939 100644 --- a/lib/lsg_web/views/error_view.ex +++ b/lib/lsg_web/views/error_view.ex @@ -1,5 +1,5 @@ -defmodule LSGWeb.ErrorView do - use LSGWeb, :view +defmodule NolaWeb.ErrorView do + use NolaWeb, :view def render("404.html", _assigns) do "Page not found" diff --git a/lib/lsg_web/views/irc_view.ex b/lib/lsg_web/views/irc_view.ex index 36a9bc4..331d91f 100644 --- a/lib/lsg_web/views/irc_view.ex +++ b/lib/lsg_web/views/irc_view.ex @@ -1,3 +1,3 @@ -defmodule LSGWeb.IrcView do - use LSGWeb, :view +defmodule NolaWeb.IrcView do + use NolaWeb, :view end diff --git a/lib/lsg_web/views/layout_view.ex b/lib/lsg_web/views/layout_view.ex index 720281d..2bffc6f 100644 --- a/lib/lsg_web/views/layout_view.ex +++ b/lib/lsg_web/views/layout_view.ex @@ -1,9 +1,9 @@ -defmodule LSGWeb.LayoutView do - use LSGWeb, :view +defmodule NolaWeb.LayoutView do + use NolaWeb, :view def liquid_markdown(conn, text) do context_path = cond do - conn.assigns[:chan] -> "/#{conn.assigns[:network]}/#{LSGWeb.format_chan(conn.assigns[:chan])}" + conn.assigns[:chan] -> "/#{conn.assigns[:network]}/#{NolaWeb.format_chan(conn.assigns[:chan])}" conn.assigns[:network] -> "/#{conn.assigns[:network]}/-" true -> "/-" end @@ -24,7 +24,7 @@ defmodule LSGWeb.LayoutView do conn.assigns[:chan] -> "#{conn.assigns.chan} @ #{conn.assigns.network}" conn.assigns[:network] -> conn.assigns.network - true -> Keyword.get(LSG.name()) + true -> Keyword.get(Nola.name()) end breadcrumb_title = Enum.map(Map.get(conn.assigns, :breadcrumbs)||[], fn({title, _href}) -> title end) diff --git a/lib/lsg_web/views/network_view.ex b/lib/lsg_web/views/network_view.ex index c369ce6..7a24db1 100644 --- a/lib/lsg_web/views/network_view.ex +++ b/lib/lsg_web/views/network_view.ex @@ -1,4 +1,4 @@ -defmodule LSGWeb.NetworkView do - use LSGWeb, :view +defmodule NolaWeb.NetworkView do + use NolaWeb, :view end diff --git a/lib/lsg_web/views/open_id_view.ex b/lib/lsg_web/views/open_id_view.ex index 64d4430..bd8089b 100644 --- a/lib/lsg_web/views/open_id_view.ex +++ b/lib/lsg_web/views/open_id_view.ex @@ -1,4 +1,4 @@ -defmodule LSGWeb.OpenIdView do - use LSGWeb, :view +defmodule NolaWeb.OpenIdView do + use NolaWeb, :view end diff --git a/lib/lsg_web/views/page_view.ex b/lib/lsg_web/views/page_view.ex index 90c384c..1bfaadd 100644 --- a/lib/lsg_web/views/page_view.ex +++ b/lib/lsg_web/views/page_view.ex @@ -1,3 +1,3 @@ -defmodule LSGWeb.PageView do - use LSGWeb, :view +defmodule NolaWeb.PageView do + use NolaWeb, :view end |