Module:CRTModel: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 269: Line 269:
-- Combine and add to table - use wikitext so it gets rendered properly
-- Combine and add to table - use wikitext so it gets rendered properly
local combinedWikitext = docListWikitext .. uploadLinkWikitext
local combinedWikitext = docListWikitext .. uploadLinkWikitext
addFullRow(tbl, combinedWikitext, 'padding:0.2em 0.4em;', true)
addFullRow(tbl, combinedWikitext, 'padding:0.2em 0.4em;', false)
else
else
-- Just show the upload link
-- Just show the upload link
local uploadLinkWikitext = '<div style="font-style:italic;"><a href="' .. tostring(uploadUrl) .. '" class="external">Upload a document</a></div>'
local uploadLinkWikitext = '<div style="font-style:italic;"><a href="' .. tostring(uploadUrl) .. '" class="external">Upload a document</a></div>'
addFullRow(tbl, uploadLinkWikitext, 'padding:0.2em 0.4em;', true)
addFullRow(tbl, uploadLinkWikitext, 'padding:0.2em 0.4em;', false)
end
end


MediaWiki Appliance - Powered by TurnKey Linux