@extends('layouts/master') @section('title') {{ empty($mod->pretty_name) ? $mod->name : $mod->pretty_name }} - Technic Solder @stop @section('content')
@if (!empty($mod->pretty_name)) {{ $mod->pretty_name }} {{ $mod->name }} @else {{ $mod->name }} @endif

@if ($errors->all())
@foreach ($errors->all() as $error) {{ $error }}
@endforeach
@endif @if (Session::has('success'))
{{ Session::get('success') }}
@endif
{!! Form::submit('Save Changes', ['class' => 'btn btn-success']) !!} {!! Html::link('mod/delete/'.$mod->id, 'Delete Mod', ['class' => 'btn btn-danger']) !!} {!! Html::link('mod/list/', 'Go Back', ['class' => 'btn btn-primary']) !!}

Solder currently does not support uploading files directly to it. Your repository still needs to exist and follow a strict directory structure. When you add versions the URL will be verified to make sure the file exists before it is added to Solder. The directory structure for this mod is as follows:

/mods/{{ $mod->name }}/{{ $mod->name }}-[version].zip
@foreach ($mod->versions->sortByDesc('id') as $ver) @endforeach
Version MD5 Download URL Filesize
N/A N/A
{{ $ver->version }} {{ config('solder.mirror_url').'mods/'.$mod->name.'/'.$mod->name.'-'.$ver->version.'.zip' }} {{ $ver->humanFilesize() }}
@endsection @section('bottom') @endsection