Merge "Refactoring live preview"
This commit is contained in:
@@ -10,7 +10,7 @@ module InterlanguagePageModule
|
||||
span(:cog, class: "uls-settings-trigger")
|
||||
button(:ellipsis_button, class: "uls-more-languages button")
|
||||
a(:english_link, text: "English")
|
||||
a(:hindi_link, text: "हिन्दी")
|
||||
a(:hindi_link, title: "Hindi")
|
||||
div(:input_settings, id: "input-settings-block")
|
||||
div(:language_list, class: "row uls-language-list lcd")
|
||||
text_field(:language_search, id: "languagefilter")
|
||||
|
||||
@@ -13,8 +13,10 @@ module LanguageModule
|
||||
"he"
|
||||
when "Hindi"
|
||||
"hi"
|
||||
when "Malayalam"
|
||||
"ml"
|
||||
else
|
||||
pending
|
||||
p "Unknown language #{language}"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -11,7 +11,10 @@ class RandomPage
|
||||
a(:download_as_pdf, text: "Download as PDF")
|
||||
a(:download_the_file, text: "Download the file")
|
||||
li(:main_page, id: "n-mainpage-description")
|
||||
a(:malayalam_link, title: "Malayalam")
|
||||
div(:asia, id: 'AS')
|
||||
a(:malayalam) do |page|
|
||||
page.asia_element.element.a(title: "Malayalam")
|
||||
end
|
||||
a(:print_export, text: "Print/export")
|
||||
a(:printable_version, text: "Printable version")
|
||||
button(:search_button, id: "searchButton")
|
||||
|
||||
Reference in New Issue
Block a user