Commit d879fcde authored by Dominik Hebeler's avatar Dominik Hebeler

Merge branch '66-es-werden-noch-keinerleid-logs-geschrieben' into 'master'

Wikipedia Quicktips geben wieder ihre Quelle an

Closes #66

See merge request !79
parents 3108f045 68819d4d
......@@ -93,6 +93,7 @@ class MetaGerSearch extends Controller
$quicktip["title"] = $result['displaytitle'];
$quicktip["URL"] = $result['fullurl'];
$quicktip["descr"] = strip_tags($result['extract']);
$quicktip['gefVon'] = "aus <a href=\"https://de.wikipedia.org\" target=\"_blank\">Wikipedia, der freien Enzyklopädie</a>";
$quicktips[] = $quicktip;
}
......@@ -118,7 +119,6 @@ class MetaGerSearch extends Controller
$mquicktips[] = ['title' => $ad['title'], 'descr' => $ad['descr'], 'URL' => $ad['URL']];
}
return view('quicktip')
->with('spruch', $spruch)
->with('mqs', $mquicktips);
......
......@@ -60,6 +60,9 @@
</b>
<br />
<div>{!! $mq['descr'] !!}</div>
@if( isset($mq['gefVon']) )
<div class="pull-right">{!! $mq['gefVon'] !!}</div>
@endif
</div>
@endforeach
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment