Sha256: 8dee96859fed16b7501079c2b8766575264d3f77ef333da86b846202a857cc84
Contents?: true
Size: 880 Bytes
Versions: 18
Compression:
Stored size: 880 Bytes
Contents
<? title = "<p>Oops!</p><p> What are you looking for?</p>" alert = "danger" buttons = "<a href='/tasks' class='btn btn-info' >Go to Tasks</a>" result_id = args[:result_id] result = Mutx::Results::Result.get(result_id) if result type = result.task_type.capitalize task_name = result.task_name if result.has_started_message? title = result.get_started_message! alert = "success" buttons = " <a href='/#{type.downcase}s/#{task_name}' class='btn btn-info' >Go to '#{task_name}'</a> <a href='/#{type.downcase}s' class='btn btn-default' >Go to #{type.capitalize}s</a> " end end ?> <div class="alert alert-{{alert}}" role="alert"> <H3> <span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> {{title}} </H3> <p> </p> <p> </p> <p> {{buttons}} </p> </div>
Version data entries
18 entries across 18 versions & 1 rubygems